-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
refactor(clustering/rpc): tunings and fixes for rubustness #13771
Merged
+179
−94
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
04b7f9c
pagesize must not be less than 2
chronolaw 6f8301f
change lmdb key format
chronolaw 401ab4a
Revert "change lmdb key format"
chronolaw c4dd964
use item.ws_id directly
chronolaw e849bac
set global key in lmdb
chronolaw c3c6b74
fix(db): use request_aware_table correctly
chronolaw e01e704
fix(dbless): get default workspace correctly
chronolaw a8d4479
check latest_version and d.ws_id
chronolaw 8c1b950
fix dp do_sync()
chronolaw e227a34
fix declarative export sync
chronolaw ff56567
typo fix
chronolaw 9386ffd
check latest_version == ngx_null in CP
chronolaw d061361
style fix
chronolaw 15624ec
fix(clustring): inc sync add ws (#13790)
chronolaw f3ed16b
fix(clustering): delta version is null (#13789)
chronolaw 3467d0c
rpc.lua style clean
chronolaw 7294a20
sync comments clean
chronolaw cacf764
refactor(clustering): change sync data structure (#13794)
chronolaw fc26c42
comments clean in rpc.lua
chronolaw 60ef6c3
fix(incremental sync): added comment for 2 times do_sync (#13801)
chobits c657588
Refactor/rename delta row (#13807)
chronolaw 8d34725
comments clean
chronolaw d6aa49a
check delta.entity nil
chronolaw 8774284
fix(incremental sync): fix cache_key handling for select_by_cache_key…
chobits 63c17e2
refactor(dbless): clean logic of select_by_field (#13817)
chronolaw b37bdd1
fix(incremental sync): fixed ws_id processing in _set_entity_for_txn …
chobits 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 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.
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.
Check it 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.
Here
ws_id
is a fallback, if row(entity) has the fieldws_id
,do_sync()
will use it but not delta.ws_id.