Skip to content

Commit

Permalink
Remove old assertion in resync replication request (#42390)
Browse files Browse the repository at this point in the history
This assertion was left behind from a previous cleanup. The assertion
was there to remove some stale logic not needed when master would not
talk to 6.x anymore. When that logic was removed, this assertion was
left behind. This commit removes that stale assertion.
  • Loading branch information
jasontedor authored May 23, 2019
1 parent cb40222 commit 2721326
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ public final class ResyncReplicationRequest extends ReplicatedWriteRequest<Resyn
private final long maxSeenAutoIdTimestampOnPrimary;

ResyncReplicationRequest(StreamInput in) throws IOException {
// TODO: https://github.com/elastic/elasticsearch/issues/38556
//assert Version.CURRENT.major <= 7;
super(in);
trimAboveSeqNo = in.readZLong();
maxSeenAutoIdTimestampOnPrimary = in.readZLong();
Expand Down

0 comments on commit 2721326

Please sign in to comment.