This repository was archived by the owner on Sep 24, 2019. It is now read-only.
File tree 2 files changed +3
-3
lines changed
server/src/main/java/org/elasticsearch
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public void readFrom(final StreamInput in) throws IOException {
68
68
throw new IllegalStateException ("resync replication request serialization is broken in 6.0.0" );
69
69
}
70
70
super .readFrom (in );
71
- if (in .getVersion ().onOrAfter (Version .V_6_4_0 )) {
71
+ if (in .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
72
72
trimAboveSeqNo = in .readZLong ();
73
73
} else {
74
74
trimAboveSeqNo = SequenceNumbers .UNASSIGNED_SEQ_NO ;
@@ -79,7 +79,7 @@ public void readFrom(final StreamInput in) throws IOException {
79
79
@ Override
80
80
public void writeTo (final StreamOutput out ) throws IOException {
81
81
super .writeTo (out );
82
- if (out .getVersion ().onOrAfter (Version .V_6_4_0 )) {
82
+ if (out .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
83
83
out .writeZLong (trimAboveSeqNo );
84
84
}
85
85
out .writeArray (Translog .Operation ::writeOperation , operations );
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ final class Checkpoint {
53
53
54
54
private static final String CHECKPOINT_CODEC = "ckp" ;
55
55
56
- // size of 6.4 .0 checkpoint
56
+ // size of 7.0 .0 checkpoint
57
57
58
58
static final int V3_FILE_SIZE = CodecUtil .headerLength (CHECKPOINT_CODEC )
59
59
+ Integer .BYTES // ops
You can’t perform that action at this time.
0 commit comments