-
Notifications
You must be signed in to change notification settings - Fork 2
tso: add dedicated ceiling fsm #1095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bootjp
wants to merge
21
commits into
main
Choose a base branch
from
design/dedicated-tso-fsm
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
97a42ba
tso: add dedicated ceiling fsm
bootjp 9182f37
tso: route durable timestamps through group leader
bootjp aa94f4e
tso: route durable timestamps through group leader (#1108)
bootjp 07460ec
tso: complete centralized runtime semantics
bootjp 416c056
tso: complete centralized runtime semantics
bootjp 9b9b7cf
tso: add runtime operations and observability
bootjp 229c206
proto: reserve removed raft status fields
bootjp 917f421
tso: preserve runtime allocator handles
bootjp 2402e77
tso: cover runtime allocator reload
bootjp 360418a
tso: bind applied read vouchers
bootjp f641453
proto: reserve retired raft status fields
bootjp c8e3ada
adapter: align timestamp validation status test
bootjp 580c5b5
tso: preserve applied-read vouchers through gated dispatch
bootjp 874a14f
tso: preserve applied-read vouchers across adapters
bootjp 5587fd5
adapter: preserve Phase D read vouchers
bootjp ca1a812
Implement centralized TSO phase D (#1114)
bootjp 227aff5
Merge main into dedicated TSO design
bootjp 330425a
Merge dedicated TSO base into runtime operations
bootjp c231fdb
Merge main into dedicated TSO design
bootjp 52519ea
Merge dedicated TSO design into runtime operations
bootjp 96c7573
Complete centralized TSO runtime operations (#1129)
bootjp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
PhaseDActiveを無条件にtrueとして返しています。Line 244 は検証成功時に常に
PhaseDActive: trueを設定します。この値が正しいのは、ValidateDurableTimestampが Phase D 非アクティブ時に必ずkv.ErrTSOPhaseDInactiveを返す場合に限られます。この前提はコード上に明示されていません。Line 245 のオプショナルインタフェースには既に
PhaseDFloor()とAllocationFloor()があります。ここにPhaseDActive() boolを加えて実際の状態を返すか、少なくとも前提をコメントで明記してください。adapter/distribution_server_test.go:1411にはPhaseDActive()の実装が既にあります。🤖 Prompt for AI Agents