Skip to content

Commit

Permalink
Remove old assertion in resync replication request (elastic#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 and Gurkan Kaymak committed May 27, 2019
1 parent 9e8891d commit d35c443
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 d35c443

Please sign in to comment.