-
Notifications
You must be signed in to change notification settings - Fork 711
feat(streaming): arrangement backfill #10266
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
Merged
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
a211291
add arrangement backfill executor
kwannoel 72a50c6
iter over pk bounds of state table
kwannoel 6e573c2
add ordered iter stub
kwannoel 8c6dc84
add reference to schema
kwannoel d6bc636
duplicate collect_data_chunk for now
kwannoel f9c688d
enable collect_data_chunk
kwannoel 022710f
add back instrumentation
kwannoel 2f37d1b
checkpoint the work on merge_sort
kwannoel 6f8a97e
make compile
kwannoel f55d375
tmp commit
kwannoel 098bedf
hack
kwannoel 2b827c5
ok works lol
kwannoel c9ed209
finally last part of merge sort
kwannoel 57f1edd
make it compile with arrangement backfill too
kwannoel 7ea8503
refactor merge_sort to separate module
kwannoel b7b5173
unified collect_chunk somewhat
kwannoel b540eb7
make the diff better
kwannoel 7fdcb2f
remove outdated comment
kwannoel faf7c50
fix outdated comment
kwannoel cbb2127
risedev cf
kwannoel 120bb70
some more refactoring + run on ci to make sure nothing broke
kwannoel 5b3e034
remove outdated code
kwannoel bd2cf4a
borrow chunk when flushing to downstream
kwannoel 16ece5b
finish implementing buffered chunk logic
kwannoel 1f52547
fix pk_in_output_indices
kwannoel 17cad18
minor
kwannoel 6508378
doc
kwannoel 3ff06bc
do not drain upstream_chunk_buffer, it needs to be flushed to state_t…
kwannoel 3cd524d
add more docs
kwannoel e49f1f3
remove unused args
kwannoel 1a4a25c
fix logic
kwannoel dd5f7c2
add notes on further optimization
kwannoel 87a01de
commit to state table too
kwannoel 633e184
fix
kwannoel c17c557
Merge branch 'main' into kwannoel/arrangement-backfill
kwannoel a82bcbd
remove unrelated changes
kwannoel 8eec53a
remove unnecessary backwards compat code for arrangement backfill
kwannoel 372ed2a
fix double for-loop
kwannoel 02a7199
add merge_sort to iterator
kwannoel 1392d4b
merge merge_sort implementations
kwannoel d2b7ed0
refactor backfill -> no_shuffle_backfill
kwannoel 0166d08
use crate imports
kwannoel bbfc060
interim
kwannoel 9d170a0
unify utils: part 1
kwannoel 73fb08a
unify utils: part 2
kwannoel ab1c71e
refactor snapshot read internals
kwannoel de00edb
finish persist state
kwannoel 402aa38
refactor snapshot read
kwannoel 6eb6e21
fix replicated state store init
kwannoel 3d32ee0
change instances of state table
kwannoel 600dae9
add fixme
kwannoel b7b065b
fix
kwannoel d4be00d
Merge branch 'main' into kwannoel/arrangement-backfill
kwannoel e108a94
Merge branch 'main' into kwannoel/arrangement-backfill
kwannoel 30e9eb1
use match for range_bounds
kwannoel 19c8069
separate MergeSort to separate module
kwannoel f40f109
cmp datum iter
kwannoel 4c7e6c0
debug_assert data_chunk cardinality
kwannoel c15244d
rm compact + risedev cf
kwannoel 4321e7e
docs + add current_pos map
kwannoel f8de0c0
just use a vec
kwannoel 424a7ca
add mark chunk per vnode
kwannoel 565ff49
add docs + FIXME
kwannoel 16cf7c6
add snapshot_read_per_vnode_skeleton
kwannoel 056a1ed
finish implement snapshot read per vnode
kwannoel 4b95e43
docs
kwannoel c8936cc
replace all snapshot_read with snapshot_read_per_vnode
kwannoel 042ce2d
refactor barrier processing
kwannoel dbd4491
fix some warnings
kwannoel 39b7cbb
implement compute vnode
kwannoel 352d8dd
risedev cf
kwannoel 687b719
clean
kwannoel 75cd4fa
clean
kwannoel 317c7c3
enforce barrier should be present
kwannoel 6d6fbfd
handle stats + TODOs
kwannoel 60b6a07
docs
kwannoel ba3a7e6
remove TODO
kwannoel 694b11e
add function to fetch progress per vnode
kwannoel d5a4dd3
start refactoring state persistence to be per vnode
kwannoel bc39753
add update_pos_per_vnode interface + interleave by chunk in snapshot …
kwannoel b697a5c
finish refactor to produce chunk + vnode
kwannoel d522787
workaround current_pos_map reference, by cloning it
kwannoel da8fffb
add FIXME
kwannoel 5e4a5c2
update persist_data per vnode
kwannoel 3558a0d
naming + init backfill state
kwannoel 12d7d93
refactor to snapshot_read with backfill_state
kwannoel df4942a
update progress to backfill_state
kwannoel 55d26de
update mark_chunk_ref_by_vnode to use backfill_state
kwannoel 56d853d
interim commit: persist_state_per_vnode
kwannoel 259c278
use persist_state_per_vnode
kwannoel d1ff383
clean
kwannoel c3edb09
minor
kwannoel 9cc6ad2
use try_join_all
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.