Skip to content

Time handed-off commits from request start in n_commit_time - #2

Closed
emelialei88 wants to merge 5 commits into
port/async-dist-commitfrom
fix/async-commit-time
Closed

emelialei88 wants to merge 5 commits into
port/async-dist-commitfrom
fix/async-commit-time

Conversation

@emelialei88

Copy link
Copy Markdown
Owner

🎯 The "Why" (Intent)

With the seqnum-wait thread, n_commit_time was built from two stopwatches: one in toblock that stops at the local commit, and one in the waiter, in ms, that starts at the handoff. The time between them is lost even though acks are already arriving then, so handed-off commits read lower than the same commit waited for inline.

🛠️ The "What" (Critical Changes)

  • toblock still counts a handed-off commit, but leaves its time to the waiter.
  • seqnum_wait_done adds the request's time from arrival in µs, read from the logger the request carries to the waiter. This is the same measure the inline wait gives.

Signed-off-by: Emelia Lei <wlei29@bloomberg.net>
Signed-off-by: Emelia Lei <wlei29@bloomberg.net>
Signed-off-by: Emelia Lei <wlei29@bloomberg.net>
Signed-off-by: Emelia Lei <wlei29@bloomberg.net>
Signed-off-by: Emelia Lei <wlei29@bloomberg.net>
@emelialei88

Copy link
Copy Markdown
Owner Author

Folded into bloomberg#6144.

@emelialei88
emelialei88 force-pushed the port/async-dist-commit branch from 5876642 to 5ae62f9 Compare October 1, 2026 20:22
@emelialei88 emelialei88 closed this Oct 1, 2026
@emelialei88
emelialei88 deleted the fix/async-commit-time branch October 1, 2026 20:22
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