这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@luluz66
Copy link
Contributor

@luluz66 luluz66 commented Jun 8, 2024

Related issues: https://github.com/buildbuddy-io/buildbuddy-internal/issues/3415
TestSplitNonMetaRange sometimes timed out because ensureValidLease() is stuck in the renew loop. This can happen when renewLease skipped to send cas request when the newValue and expectedValue are the same, but the replica.GetRangeLease() is different from the expectedValue, so the following verifyLease fails.

With this change, the number of TestSplitNonMetaRange timeout is reduced to ~15 from ~30, when --runs_per_test=100

@luluz66 luluz66 requested a review from tylerwilliams June 8, 2024 06:53
@luluz66 luluz66 marked this pull request as ready for review June 8, 2024 06:53
@luluz66 luluz66 merged commit 415625f into master Jun 10, 2024
@luluz66 luluz66 deleted the raft-timeout-renewlease branch June 10, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants