-
Notifications
You must be signed in to change notification settings - Fork 614
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
feat(stream): add synced logstore #20204
Merged
+1,154
−107
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
e69b09b
add interfaces
kwannoel 3200bf7
interim
kwannoel 73350a3
separate select
kwannoel c142833
poll writer and reader
kwannoel 578a729
directly read from upstream
kwannoel f1e5881
match different upstream items
kwannoel fb0d8ee
docs
kwannoel 38f7f45
add skeleton for read path
kwannoel 8dee24c
refactor common fn
kwannoel 6bcd06c
handle full read path
kwannoel 11bc153
write barrier
kwannoel 4eba587
write chunk
kwannoel c4554fa
wired up write_barrier
kwannoel 884d48a
wire up write_chunk
kwannoel 869aa3e
track metrics in buffer
kwannoel 252e219
truncate offset after read
kwannoel fefbd28
refactor into functions
kwannoel e088f0b
add constructor
kwannoel 5b2a2a5
fmt
kwannoel 43d157b
remove unnecessary async
kwannoel cc0659f
do not lock mutex across await point
kwannoel 629d72a
fix warnings
kwannoel 990ee59
fmt
kwannoel c49bbd3
refactor to executor
kwannoel 9789162
renaming
kwannoel 5230aec
impl execute
kwannoel 97e55b3
fix warn + docs
kwannoel 4d605f0
refactor persisted logstore
kwannoel 626d918
init state store iter
kwannoel 5e937d0
fix warn
kwannoel a46c2a9
pass executor rather than msg stream
kwannoel a360b99
defer state_store clone
kwannoel 474692e
add vnodes
kwannoel 972d0df
test outline pt 1
kwannoel f764389
add more test lines
kwannoel f369e82
check test results
kwannoel da0f78a
fix calls
kwannoel bf2c8c6
make test compile
kwannoel f8f50b5
yield first barrier
kwannoel 1bb6a3a
logging
kwannoel e4c7609
bias to upstream side
kwannoel 0209ff3
fmt
kwannoel 8406619
allow unused
kwannoel 4f6f8fb
fix test lints
kwannoel 8402e35
fix
kwannoel b054284
use prev
kwannoel 9a36b0d
fix deps
kwannoel 6655816
remove LS
kwannoel 293b160
use pub(crate) instead of pub
kwannoel 4c619ce
use expect_first_barrier + yield before init state store
kwannoel 0e343bc
fix warn
kwannoel 69b3fc8
apply vnode update to write path
kwannoel e512989
update read path
kwannoel 63a375d
no need lock
kwannoel 61a8b30
fix test
kwannoel e6e2092
need to handle watermark
kwannoel a7bf527
Apply suggestions from code review
kwannoel 5862b88
no need read_metrics
kwannoel 43d94bd
fix vis
kwannoel 5457a54
remove unnecessary read metrics from test
kwannoel 74ea90a
remove unnecessary fields
kwannoel 49b0aef
just pass epoch
kwannoel 4ff702d
UpdateVnodes should not be in buffer
kwannoel c4b9c1a
fix test
kwannoel ffee918
move vnode bitmap updates to top level
kwannoel 06ce11a
fmt + fix async -> sync
kwannoel 3eb0ecc
await
kwannoel 3c68523
fix control flow
kwannoel 6c72967
fmt
kwannoel 3559fa2
increase timeout
kwannoel eed0d41
return pending if no results from the logstore side
kwannoel 1d8ef0f
fix compat
kwannoel 7eb5c8a
increase timeout
kwannoel 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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.
Are the
read_flushed_chunk
andread_persisted_log_store
just a simple copy-paste from the original code without any change in the logic?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.
Yes. These are refactored and reused in the synced_log_store executor.