Skip to content

Commit 36c25f9

Browse files
committed
kvserverpb: add migration comment for RangeKeysInOrder
1 parent 0077599 commit 36c25f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/kv/kvserver/kvserverpb/raft.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ message SnapshotRequest {
244244
// keys in key order, as opposed to iterating over point keys first
245245
// and range keys second. The receiver can take advantage of this
246246
// to split points/range keys into multiple sstables for ingestion.
247+
//
248+
// MIGRATION: v24.3 and newer will always set this field to true, and v25.3
249+
// and newer stop consulting the field altogether (assume it is true). In
250+
// v26.1, we can then drop this field altogether, since v26.1 is the first
251+
// version that does not have to interop with v25.2 (the last version to
252+
// attach meaning to this field being unset/absent) or older.
247253
bool range_keys_in_order = 14;
248254

249255
reserved 1, 4, 6, 7, 8, 9;

0 commit comments

Comments
 (0)