-
Notifications
You must be signed in to change notification settings - Fork 4.1k
storage: non-zero HardState.Commit on uninitialized replica #40213
Copy link
Copy link
Closed
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
cockroach debug merge-logs *.logs/*.log | grep -F r3157
ip-10-12-37-237> I190822 21:27:54.723498 883796922 storage/store.go:2593 [n5,replicaGC,s5,r3157/2:/Table/57/1/9{2/99964-3/25360}] removing replica r3157/2
ip-10-12-37-237> I190822 21:27:54.724112 883796922 storage/replica_destroy.go:152 [n5,replicaGC,s5,r3157/2:/Table/57/1/9{2/99964-3/25360}] removed 25401 (25396+5) keys in 1ms [clear=0ms commit=0ms]
ip-10-12-37-237> F190823 18:30:39.636004 297 storage/replica_raft.go:668 [n5,s5,r3157/5:{-}] setting non-zero HardState.Commit on uninitialized replica [n5,s5,r3157/5:{-}]. HS={Term:7 Vote:0 Commit:66957 XXX_unrecognized:[]}
Seen on the release qualification cluster for #39781
Also seen in unit tests: #39660 (comment)
Reactions are currently unavailable
Metadata
Metadata
Labels
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.