Repository navigation
Correct logging identity, acceptance, and archive ordering - #75
Merged
Merged
Conversation
Separate identity, causality, acceptance, and visibility. Bound asynchronous logging behavior, order archival before checkpoint advancement, and explain retention and recovery-rate assumptions. Independently checked the worked backlog example and unchanged notebook execution state. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7411b498-db61-4f72-8629-4af2b007c3a4
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the design documentation and matching notebook updates.
No open issues 🎉
What changed in this PR
Updates the distributed logging design documentation and matching notebook to clarify event identity, durability boundaries, and safe archival ordering. These changes describe design requirements and failure assumptions; they do not implement a logging pipeline.
Changes:
- Separate stable event identity from timestamps and trace relationships.
- Clarify bounded-queue behavior, logging overhead, and the distinction between enqueue, durable acceptance, archival, and search visibility.
- Require verified archival before checkpoint advancement, explain replay-safe writes, and illustrate retention sizing using outage backlog and recovery throughput.
| File | Description |
|---|---|
distributed_logging.md |
Revises logging identity, acceptance, archival, and retention guidance. |
distributed_logging.ipynb |
Mirrors the documentation updates in notebook Markdown cells. |
Review effort: Balanced
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.
Problem
Application/service IDs plus timestamps do not establish unique events or causality. Asynchronous queues do not remove logging cost or prevent loss, and deleting broker records before archival risks losing the only retained copy.
Changes
Update Markdown and its notebook without adding a logging stack.
Validation
Independently checked the 18 GB backlog, one-hour recovery, conservative 90-minute budget, and equal-rate versus growing-lag cases. The notebook schema passes; code, outputs, and metadata are unchanged.
git diff --checkpasses.GitHub CI passes on Python 3.9, 3.10, and 3.11. Markdown links and Codacy pass.
This specifies failure boundaries and assumptions; it is not evidence of an implemented durable pipeline.