Skip to content

Conversation

@h2zh
Copy link
Contributor

@h2zh h2zh commented Jan 5, 2026

This is a PR that enforces the autonomy principle of distributed system by decoupling local operations from Registry.

  • Before: If Registry was unreachable, the entire downtime operation initiated by the Origin/Cache admin would fail
  • After: Even Registry's immediate acknowledgement fails, Origin/Cache still writes this downtime operation into its DB, logs a warning, and relies on periodic server advertisements to sync with Registry

…iate acknowledgement

- Before: If Registry was unreachable, the entire downtime operation initiated by the Origin/Cache admin would fail
- After: Even Registry's immediate acknowledgement fails, Origin/Cache completes the local operation, logs a warning, and relies on periodic server advertisements to sync with Registry
@h2zh h2zh added this to the v7.23 milestone Jan 5, 2026
@h2zh h2zh requested a review from jhiemstrawisc January 5, 2026 17:51
@h2zh h2zh added cache Issue relating to the cache component origin Issue relating to the origin component registry Issue relating to the registry component labels Jan 5, 2026
@h2zh h2zh linked an issue Jan 5, 2026 that may be closed by this pull request
7 tasks
Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this, @h2zh!

@jhiemstrawisc jhiemstrawisc merged commit 9254b5f into PelicanPlatform:main Jan 13, 2026
27 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cache Issue relating to the cache component origin Issue relating to the origin component registry Issue relating to the registry component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Origin/Cache downtime ops should not rely on Registry response

2 participants