Skip to content

De-flake TestNoRaceJetStreamKVReplaceWithServerRestart#6947

Merged
neilalexander merged 1 commit intomainfrom
maurice/deflake-kv-consistency
Jun 6, 2025
Merged

De-flake TestNoRaceJetStreamKVReplaceWithServerRestart#6947
neilalexander merged 1 commit intomainfrom
maurice/deflake-kv-consistency

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

This test could flake because we currently don't provide read-after-write guarantees when using DirectGet. Disabling DirectGet means only the leader can answer, which ensures the immediate level of consistency this test expects.

The leader answering still doesn't 100% guarantee read-after-write, that needs to be fixed as part of #6557. Once we support that, this test can be adapted to use DirectGet again, but with the additional read-after-write guarantee.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner June 6, 2025 11:48
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neilalexander neilalexander merged commit a56a2d8 into main Jun 6, 2025
109 of 114 checks passed
@neilalexander neilalexander deleted the maurice/deflake-kv-consistency branch June 6, 2025 12:45
neilalexander added a commit that referenced this pull request Jun 17, 2025
Includes the following:

- #6922
- #6931
- #6933
- #6934
- #6939
- #6938
- #6940
- #6941
- #6942
- #6943
- #6945
- #6944
- #6947
- #6948
- #6949
- #6956
- #6960
- #6961
- #6951
- #6965
- #6968
- #6981
- #6983
- #6984

Signed-off-by: Neil Twigg <neil@nats.io>
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.

2 participants