-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
kv/kvserver: TestReplicaTombstone failed #104477
Comments
Upd: failed after 35 min of stressing. |
The error that a successful run expects and sees:
Failing runs see:
I.e. the "is not fit to send snapshot" error from a delegated snapshot machinery is not expected. cockroach/pkg/kv/kvserver/replica_command.go Lines 2966 to 2974 in 8f3e328
Not sure why delegated snapshots kick in in this test. |
@andrewbaptist Could you take a look? Do we expect delegated snapshots here? LMK if you need full logs of the good/bad runs. |
Logs from a good run contain:
Logs from a bad run contain:
|
I'll take a look. In this case it is not a "true" delegated snapshot, since the coordinator and the sender are both n1. It just always uses the same machinery to send snapshots. The fact that the term changed here is a little surprising, but it could have changed for a different reason. I might need to weaken that check to not apply it in the case of self-delegation, or change it so that it allows a newer |
Previously delegated snapshots had a check where it would not allow delegation if the term or generation were different between the sender and the recipient. This was incorrect as on the coordinator it was possible that the term and generation could increment. This change allows the sending of changes as long as the sender (leaseholder or delegate) has an equal or greater term or generation. Epic: none Fixes: cockroachdb#104477 Release note: None
105044: kvserver: allow term and generation increments r=pavelkalinnikov a=andrewbaptist Previously delegated snapshots had a check where it would not allow delegation if the term or generation were different between the sender and the recipient. This was incorrect as on the coordinator it was possible that the term and generation could increment. This change allows the sending of changes as long as the sender (leaseholder or delegate) has an equal or greater term or generation. Epic: none Fixes: #104477 Release note: None 105561: backupccl: skip timing based regression test under deadlock r=rhu713 a=adityamaru TestCleanupIntentsDuringBackupPerformanceRegression ensures that intent resolution does not take >20s when running in a controlled environment. We have seen instances of this test when run under deadlock taking 22-24s causing the test to fail. Given that this test is very sensitive to timing, it does not make sense to run it under deadlock. Fixes: #100034 Release note: None 105562: concurrency: small bug fix r=nvanbenschoten a=arulajmani Previously, as seen in the testing diff, an inactive waiter/claimant on a lock could continue to remain a distinguished waiter on that lock. This is now fixed. Epic: none Release note: None Co-authored-by: Andrew Baptist <baptist@cockroachlabs.com> Co-authored-by: adityamaru <adityamaru@gmail.com> Co-authored-by: Arul Ajmani <arulajmani@gmail.com>
Previously delegated snapshots had a check where it would not allow delegation if the term or generation were different between the sender and the recipient. This was incorrect as on the coordinator it was possible that the term and generation could increment. This change allows the sending of changes as long as the sender (leaseholder or delegate) has an equal or greater term or generation. Epic: none Fixes: #104477 Release note: None
kv/kvserver.TestReplicaTombstone failed with artifacts on release-23.1 @ 1a5dc2aad16ca4185afcda75d923804324dcfeb9:
Parameters:
TAGS=bazel,gss,deadlock
Help
See also: How To Investigate a Go Test Failure (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-28551
The text was updated successfully, but these errors were encountered: