Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into createpitrest
  • Loading branch information
bharath-techie committed Aug 19, 2022
2 parents 5203a3c + ee26e01 commit 90bdb5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public NodeGatewayStartedShards(StreamInput in) throws IOException {
} else {
storeException = null;
}
if (in.getVersion().onOrAfter(Version.V_3_0_0) && in.readBoolean()) {
if (in.getVersion().onOrAfter(Version.V_2_3_0) && in.readBoolean()) {
replicationCheckpoint = new ReplicationCheckpoint(in);
} else {
replicationCheckpoint = null;
Expand Down Expand Up @@ -430,7 +430,7 @@ public void writeTo(StreamOutput out) throws IOException {
} else {
out.writeBoolean(false);
}
if (out.getVersion().onOrAfter(Version.V_3_0_0)) {
if (out.getVersion().onOrAfter(Version.V_2_3_0)) {
if (replicationCheckpoint != null) {
out.writeBoolean(true);
replicationCheckpoint.writeTo(out);
Expand Down

0 comments on commit 90bdb5f

Please sign in to comment.