Skip to content

chore(docs): explain how a node learns its lock is gone when no other node takes it - #54

Merged
yordis merged 1 commit into
yordis/docs-fenced-node-in-flightfrom
yordis/docs-lock-loss-signal
Oct 26, 2026
Merged

yordis merged 1 commit into
yordis/docs-fenced-node-in-flightfrom
yordis/docs-lock-loss-signal

Conversation

@yordis

@yordis yordis commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

@cursor

cursor Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Documentation-only change to Architecture.md with no runtime or schema impact.

Overview
Updates the Architecture guide to spell out what happens when a subscription advisory lock is lost, not only the lock_generation checkpoint guard.

The revised paragraph adds the lock_released path: when the lock connection dies, the lock server notifies subscriptions so they disconnect and resubscribe. It also clarifies the race where another node may acquire the lock before that message arrives, and tightens the generation wording so generation advances only on lock acquisition and stale checkpoints signal a takeover that happened before the node’s own notice (including cases where no peer took over yet vs. the old “node that no longer holds the lock” phrasing).

Reviewed by Cursor Bugbot for commit dd0b8de. Bugbot is set up for automated code reviews on this repo. Configure here.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b379177d-e1e8-42e0-8259-397a0c145a9a
Commits

Reviewing files that changed from the base of the PR and between 5724028 and c9475e5.

Files selected for processing: 1
  • guides/Architecture.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yordis
yordis added this pull request to stack #73 October 26, 2026 16:00
@yordis
yordis force-pushed the yordis/docs-lock-loss-signal branch from dd0b8de to 033ec16 Compare October 26, 2026 16:16
@yordis
yordis removed this pull request from stack #73 October 26, 2026 16:53
…o other node takes it

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
@yordis
yordis force-pushed the yordis/docs-lock-loss-signal branch from 033ec16 to c9475e5 Compare October 26, 2026 16:54
@yordis
yordis added this pull request to stack #74 October 26, 2026 17:10
@yordis
yordis merged commit 7a62b0b into main Oct 26, 2026
6 of 7 checks passed
@yordis
yordis deleted the yordis/docs-lock-loss-signal branch October 26, 2026 17:45
@yordis yordis changed the title docs(architecture): explain how a node learns its lock is gone when no other node takes it chore(docs): explain how a node learns its lock is gone when no other node takes it Oct 26, 2026
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.

1 participant