Repository navigation
registry: support overlapping generations in session/ namespaces - #459
Open
snps-fricke wants to merge 25 commits into
Open
snps-fricke wants to merge 25 commits into
snps-fricke wants to merge 25 commits into
Conversation
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
- map peer to (name, generation) in registry Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
- autonomous participants get admitted to the newest live generation that they are not part of; otherwise, they spawn a new generation Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
- randomize default socket paths - retry collisions without unlinking existing sockets - document endpoint reuse Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
session/ namespaces
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
- seal older generations, never reopen them - once workflow is known, only required participants and the system controller can replace an active generation. other participants can open one when none is active, but duplicates get the legacy rejection. Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
Signed-off-by: Maximilian Fricke <maximilian.fricke@synopsys.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When restarting a simulation, participants from the previous run may still be connected. Because the registry rejects duplicate participant names within a namespace, a replacement run that reuses those names has to wait for the old participants to disconnect or use a different registry URI.
Registry sessions let a replacement run start on the same registry URI while the previous run is still connected.
For example,
silkit://localhost:8500/session/exampleopts in. The registry scopes peer discovery and routing to the assigned generation, so participant names can repeat across generations. Other namespaces still reject duplicate participant names.Both the participant and the registry must support the
registry-sessionscapability. Otherwise, a session join fails.Generation placement
Observability
IRegistryEventListenerreports generation creation, aggregate system-state changes, and removal. Participant connect, disconnect, status, and workflow events carry the assigned generation.Local acceptor endpoints
Developer checklist (address before review)