-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: TestReplicateRogueRemovedNode failed under stress #41466
Comments
Not sure why it didn't pull out the right stack trace, but the real failure is a nil pointer exception in HandleRaftUncoalescedRequest. Looks like we've seen the same stack trace back in 2.1 via sentry in #36361, but closed it as unreproducible.
|
The crash is because we receive a message type that's not in this map: cockroach/pkg/storage/metrics.go Lines 1374 to 1385 in 9f36f64
Compare this to the upstream list https://github.com/etcd-io/etcd/blob/3ef2ad8e115449a7004b628a873e2629855ed468/raft/raftpb/raft.proto#L37-L55. We're missing MsgHup, MsgBeat, MsgUnreachable, MsgSnapStatus, MsgCheckQuorum, MsgReadIndex, and MsgReadIndexResp.
|
I was looking into this because I hit it in #41507. I found that the message type was a |
Ack |
41577: storage: Deflake TestReplicateRogueRemovedNode r=ajwerner a=bdarnell Some recently-refactored test harness code needed to check for nil stores. Fixes #41466 Release note: None 41579: sqlsmith: fix merge join to exit when it's out of indexes r=mjibson a=mjibson Release note: None Co-authored-by: Ben Darnell <[email protected]> Co-authored-by: Matt Jibson <[email protected]>
Some recently-refactored test harness code needed to check for nil stores. Fixes cockroachdb#41466 Release note: None
SHA: https://github.com/cockroachdb/cockroach/commits/06026bab5cdb3695ddeba209c94175cd9460b170
Parameters:
To repro, try:
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1529580&tab=buildLog
The text was updated successfully, but these errors were encountered: