-
Notifications
You must be signed in to change notification settings - Fork 912
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
properly fix migration in mem ack aggregation #4571
Conversation
…ased aggregation cannot be unified (#4571)
remoteClusterInfo.AckedReplicationTaskIDs[remoteShardID] = ackTaskID | ||
remoteClusterInfo.AckedReplicationTimestamps[remoteShardID] = ackTimestamp |
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.
One thing I am not following, why the acked task id can be used across different share ids?
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.
for polling mode:
targer cluster's 1 poller may poll & ack on behalf of >= 1 shards, here source cluster should update all relevant shard's ack task IDs
for streaming mode:
each target shard will has its own grpc stream & update ack using reader ID (cluster ID + shard ID)
Is it hotfix candidate or not? If not, remove 1.21.2 tag, if yes, please add it to description. |
…ased aggregation cannot be unified (#4571)
this PR is, take a look at the github tag |
…ased aggregation cannot be unified (#4571)
* Fix migration in mem ack aggregation, since sender based / receiver based aggregation cannot be unified
* Fix migration in mem ack aggregation, since sender based / receiver based aggregation cannot be unified
* Fix migration in mem ack aggregation, since sender based / receiver based aggregation cannot be unified
What changed?
Why?
Correctly unify sender based & receiver based ack aggregation
How did you test it?
UT
Potential risks
N/A
Is hotfix candidate?
1.21.2