feat: consolidate Insert request related partitioning and distributed processing operations into Inserter#2346
Merged
killme2008 merged 10 commits intoGreptimeTeam:migrate-region-serverfrom Sep 12, 2023
Conversation
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## migrate-region-server #2346 +/- ##
========================================================
Coverage ? 77.54%
========================================================
Files ? 714
Lines ? 113737
Branches ? 0
========================================================
Hits ? 88192
Misses ? 25545
Partials ? 0 |
…ted mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
killme2008
reviewed
Sep 11, 2023
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
waynexia
pushed a commit
that referenced
this pull request
Sep 12, 2023
… processing operations into Inserter (#2346) * refactor: RegionRequest as param of RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: partition insert & delete reqs for both standalone and distributed mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: wrong function nameg Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: do request in inserter & deleter Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: remove RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: rename table_creator Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: address comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
waynexia
pushed a commit
that referenced
this pull request
Sep 12, 2023
… processing operations into Inserter (#2346) * refactor: RegionRequest as param of RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: partition insert & delete reqs for both standalone and distributed mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: wrong function nameg Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: do request in inserter & deleter Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: remove RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: rename table_creator Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: address comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
waynexia
pushed a commit
that referenced
this pull request
Sep 12, 2023
… processing operations into Inserter (#2346) * refactor: RegionRequest as param of RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: partition insert & delete reqs for both standalone and distributed mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: wrong function nameg Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: do request in inserter & deleter Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: remove RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: rename table_creator Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: address comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
WenyXu
pushed a commit
to WenyXu/greptimedb
that referenced
this pull request
Sep 13, 2023
… processing operations into Inserter (GreptimeTeam#2346) * refactor: RegionRequest as param of RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: partition insert & delete reqs for both standalone and distributed mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: wrong function nameg Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: do request in inserter & deleter Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: remove RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: rename table_creator Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: address comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
paomian
pushed a commit
to paomian/greptimedb
that referenced
this pull request
Oct 19, 2023
… processing operations into Inserter (GreptimeTeam#2346) * refactor: RegionRequest as param of RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: partition insert & delete reqs for both standalone and distributed mode Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * fix: wrong function nameg Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: do request in inserter & deleter Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * feat: remove RegionRequestHandler.handle Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: rename table_creator Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * refactor: address comments Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> * chore: nit change Signed-off-by: Zhenchi <zhongzc_arch@outlook.com> --------- Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
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.
I hereby agree to the terms of the GreptimeDB CLA
same for Delete requests
What's changed and what's your intention?
frontend::instance::distributed::{inserter|deleter}Partitionerfor all{Insert|Delete}request converters to partition requests into region requestshandle_table_insertandhandle_statement_inserttofrontend::insert::Inserterhandle_table_inserttofrontend::delete::DeleterhandleinRegionServerHandlerfrontend::insert::Inserterandfrontend::delete::Deleterinternally send distributed requestsChecklist
Refer to a related PR or issue link (optional)