-
Notifications
You must be signed in to change notification settings - Fork 26
Enhance Client Support for Partition Splitting #204
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
Conversation
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
75b9135 to
73ef9aa
Compare
shenyunlong
reviewed
Oct 21, 2024
src/main/java/com/alipay/oceanbase/rpc/stream/ObTableClientQueryAsyncStreamResult.java
Outdated
Show resolved
Hide resolved
maochongxin
added a commit
that referenced
this pull request
Dec 4, 2024
Enhance Client Support for Partition Splitting
maochongxin
added a commit
that referenced
this pull request
Dec 10, 2024
Enhance Client Support for Partition Splitting
maochongxin
added a commit
that referenced
this pull request
Jan 3, 2025
Enhance Client Support for Partition Splitting
shenyunlong
added a commit
that referenced
this pull request
Jan 3, 2025
* Optimize SQL for refreshing table location information * partical refresh * Fix infinite loop caused by removed reference * fix lsop retry fail * Remove unnecessary comments and format code * Fix frequent refresh lock failures due to short refresh interval * Fix frequent refresh lock failures due to short refresh interval * add result code -4723 * fix review * add -4138 * fix review: add ut for byteutil * fix lsop refresh location * Merge pull request #204 from oceanbase/retry_batchops_merge_master Enhance Client Support for Partition Splitting * feature: Optimize partial refresh and add retry for executeMutation/query (#213) * remove lock in refreshTableLocationByTabletId * fix refresh sql * fix refresh interval * add retry logic for common query * add retry logic for executeMutation * add retry logic for executeMutation * add retry logic for ObTableQueryAndMutateRequest * fix: correct ineffective retry logic * retry logic for ObTableClient execute * fix * fix * fix 3.x null exception (#214) * fix * fix regress * [fix] add threshold for refresh table entry with location (#220) * add threshold for refresh table entry with location * [Fix] remove TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD in Property * [Fix] fix compile error --------- Co-authored-by: shenyunlong.syl <shenyunlong.syl@oceanbase.com> * [fix] 3.x compatible (#223) * fix * fix * [fix] test case stuck in await (#227) * fix * fix * refine * Fix global route refresh wrong (#231) * fix global index route refresh wrong when route need refresh * fix global index route wrong * revert unused commit * fix global index route wrong when need partial route refresh (#232) * fix global index route wrong when need partial route refresh * Ensure PartitionInfo is Exposed Only After Leader is Found During Single Shard Refresh --------- Co-authored-by: maochongxin <maochongxin@gmail.com> * fix PartitionNumOneTest routed to the wrong server * add error code 5627 * fix extendType parse object to comparable * fix refresh location param * fix log; add retry interval for executeWithRetries * Add quick path: return quickly if recently refreshed * add log for batchOpsImpl * fix * fix table.entry.refresh.interval.wait * fix global index route error * fix * TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD -> 0 * add retry code =4242 * fix getPartitionLocation nullptr && resolve conflict error * fix resolve conflict error * fix getLs nullptr * fix dr nullptr * fix global index nullptr * fix unexpected addr expired * fix unexpected addr expired * Reduce log printing and optimize log output content; * fix update lsId if location exists * fix log * fix lsop -5200 with table_group * fix rpc.execute.timeout * fix log * fix log && fix getPartitionReplica return wrong part id --------- Co-authored-by: miyuan-ljr <884244693@qq.com> Co-authored-by: shenyunlong.syl <shenyunlong.syl@oceanbase.com> Co-authored-by: GroundWu <1175416256@qq.com>
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.
Summary
This merge request introduces enhancements to the client to support partition splitting effectively. The key changes include:
Solution Description