Skip to content

Move cachpath consensus to be calculated at init time - #194

Merged
rountree merged 1 commit into
llnl:develfrom
mplegendre:bugfix/serialize_consensus
Jul 5, 2026
Merged

Move cachpath consensus to be calculated at init time#194
rountree merged 1 commit into
llnl:develfrom
mplegendre:bugfix/serialize_consensus

Conversation

@mplegendre

Copy link
Copy Markdown
Member

This fixes #187

Cachepath consensus was being triggered by a message from the FE. This was the likely cause of race conditions as the consensus algorithm collided with both the client connections and other communications happening.

This comment removes the trigger for consensus being a message initiated by the FE. Instead consensus is triggered during server initialization, before clients are allowed to connect. Because of this we were able to remove the timeout/retry code from clients that triggers if they connect before consensus is reached.

@rountree

rountree commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Code looks good, works 3x on rzadams. Will go ahead and merge.

@rountree
rountree merged commit 0429048 into llnl:devel Jul 5, 2026
6 checks passed
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.

Change send_cachepath_query() to use state machine instead of retry.

2 participants