Skip to content

Commit 1cbccb1

Browse files
committed
Adjust wire compat version for point in time
Relates #66713
1 parent 59082c0 commit 1cbccb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/search/internal/ShardSearchContextId.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public ShardSearchContextId(StreamInput in) throws IOException {
5050
} else {
5151
this.sessionId = "";
5252
}
53-
if (in.getVersion().onOrAfter(Version.V_8_0_0)) {
53+
if (in.getVersion().onOrAfter(Version.V_7_12_0)) {
5454
this.searcherId = in.readOptionalString();
5555
} else {
5656
this.searcherId = null;
@@ -63,7 +63,7 @@ public void writeTo(StreamOutput out) throws IOException {
6363
if (out.getVersion().onOrAfter(Version.V_7_7_0)) {
6464
out.writeString(sessionId);
6565
}
66-
if (out.getVersion().onOrAfter(Version.V_8_0_0)) {
66+
if (out.getVersion().onOrAfter(Version.V_7_12_0)) {
6767
out.writeOptionalString(searcherId);
6868
}
6969
}

0 commit comments

Comments
 (0)