Repository navigation
Fix bugs[dup/ww/data-lost] when unsubscribe table - #17005
Merged
mergify[bot] merged 9 commits intoJun 21, 2024
Merged
mergify[bot] merged 9 commits into
mergify[bot] merged 9 commits into
Conversation
volgariver6
approved these changes
Jun 19, 2024
XuPeng-SH
approved these changes
Jun 19, 2024
triump2020
force-pushed
the
fix-ww/dup/data-lost/-bugs-when-sub/unsub
branch
from
June 20, 2024 09:53
f6c01da to
5d01ec9
Compare
zhangxu19830126
approved these changes
Jun 21, 2024
triump2020
added a commit
to triump2020/matrixone
that referenced
this pull request
Jun 23, 2024
1. Fix the follow bugs when unsubscribe table: ww conflicts, duplicate error, data lost, panic. 2. The following timing can cause tails lost in CN's partition state , resulting in the bugs above. ``` CN DN send unsubscribe send subscribe receive subsribe receive unsubscibe ``` Approved by: @volgariver6, @XuPeng-SH, @zhangxu19830126
6 tasks
mergify Bot
pushed a commit
that referenced
this pull request
Jun 25, 2024
1. Pls ref to #17005 Approved by: @XuPeng-SH, @sukki37, @zhangxu19830126
mergify Bot
pushed a commit
that referenced
this pull request
Jun 27, 2024
1. Remove the redundant `requestLock ` to avoid dead lock, since the [PR ](#17005) guarantees the serializability of subscribing and unsubscribing a table by state machine. Approved by: @volgariver6, @XuPeng-SH, @sukki37
mergify Bot
pushed a commit
that referenced
this pull request
Jun 27, 2024
1. Remove the redundant `requestLock ` to avoid dead lock, since the [PR ](#17005) guarantees the serializability of subscribing and unsubscribing a table by state machine. Approved by: @XuPeng-SH
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
1. Fix the follow bugs when unsubscribe table: ww conflicts, duplicate error, data lost, panic. 2. The following timing can cause tails lost in CN's partition state , resulting in the bugs above. ``` CN DN send unsubscribe send subscribe receive subsribe receive unsubscibe ``` Approved by: @volgariver6, @XuPeng-SH, @zhangxu19830126
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
1. Remove the redundant `requestLock ` to avoid dead lock, since the [PR ](matrixorigin#17005) guarantees the serializability of subscribing and unsubscribing a table by state machine. Approved by: @XuPeng-SH
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.
What type of PR is this?
Which issue(s) this PR fixes:
issue #16948 #16938 #16577 #16421 #15844 #14890 #14880 #14405 #14160 #16701 #15843
What this PR does / why we need it:
Fix the follow bugs when unsubscribe table: ww conflicts, duplicate error, data lost, panic.
The following timing can cause tails lost in CN's partition state , resulting in the bugs above.