Skip to content

Fix reace condition is SnapshotStressTest - #5438

Merged
SirTyson merged 1 commit into
stellar:masterfrom
SirTyson:flakey-bl-test
Sep 1, 2026
Merged

SirTyson merged 1 commit into
stellar:masterfrom
SirTyson:flakey-bl-test

Conversation

@SirTyson

Copy link
Copy Markdown
Contributor

Description

Fixes a race in "snapshot concurrent stress test", where we'd check the query server snapshot for correctness before actually publishing anything to the query server. Note this is just a race condition in the test harness, not the production path.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@SirTyson
SirTyson requested review from dmkozh and a balanced review from Copilot August 31, 2026 22:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes startup handling in the snapshot concurrency stress test.

Changes:

  • Tracks first QueryServer snapshot publication.
  • Allows historical reads before initial publication.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI review requested due to automatic review settings August 31, 2026 22:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@SirTyson
SirTyson enabled auto-merge August 31, 2026 22:49
@SirTyson
SirTyson added this pull request to the merge queue Aug 31, 2026
Merged via the queue into stellar:master with commit b25aabe Sep 1, 2026
58 checks passed
@SirTyson
SirTyson deleted the flakey-bl-test branch September 1, 2026 01:09
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