github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/kv/kvserver/testdata/truncated_state_migration/pre_migration (about) 1 # Mode of operation below VersionUnreplicatedRaftTruncatedState. 2 # We don't mess with the on-disk state nor do we ever drop updates. 3 4 prev index=100 term=9 5 ---- 6 7 put legacy=true index=100 term=9 8 ---- 9 10 handle index=100 term=9 11 ---- 12 apply: true 13 /Local/RangeID/12/r/RaftTruncatedState -> index=100 term=9 14 15 # Note that the below aren't actually possible in practice 16 # as a divergence won't happen before the migration. 17 18 handle index=150 term=9 19 ---- 20 apply: true 21 /Local/RangeID/12/r/RaftTruncatedState -> index=100 term=9 22 23 handle index=60 term=9 24 ---- 25 apply: true 26 /Local/RangeID/12/r/RaftTruncatedState -> index=100 term=9