Skip to content

Commit 2721326

Browse files
authored
Remove old assertion in resync replication request (#42390)
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.
1 parent cb40222 commit 2721326

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

server/src/main/java/org/elasticsearch/action/resync/ResyncReplicationRequest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public final class ResyncReplicationRequest extends ReplicatedWriteRequest<Resyn
3838
private final long maxSeenAutoIdTimestampOnPrimary;
3939

4040
ResyncReplicationRequest(StreamInput in) throws IOException {
41-
// TODO: https://github.com/elastic/elasticsearch/issues/38556
42-
//assert Version.CURRENT.major <= 7;
4341
super(in);
4442
trimAboveSeqNo = in.readZLong();
4543
maxSeenAutoIdTimestampOnPrimary = in.readZLong();

0 commit comments

Comments
 (0)