-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix][broker] Add expire check for replicator #23975
Conversation
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.
LGTM, just wondering whether we need more comments in the testReplicatorWithTTL
test case so that it's clear what the expected behavior is. It's currently hard to validate the test case itself.
Signed-off-by: Zixuan Liu <[email protected]>
Signed-off-by: Zixuan Liu <[email protected]>
fcaf3f0
to
c58deee
Compare
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.
LGTM, thanks for improving the test case too
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23975 +/- ##
============================================
+ Coverage 73.57% 74.23% +0.65%
+ Complexity 32624 32401 -223
============================================
Files 1877 1861 -16
Lines 139502 144192 +4690
Branches 15299 16424 +1125
============================================
+ Hits 102638 107037 +4399
+ Misses 28908 28711 -197
- Partials 7956 8444 +488
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Motivation
#21865 removes the expire check for the replicator and compaction subscription. However, this introduces a breaking change in that the replication message never expires.
The TTL policy should be applied to the subscription and replicator.
Modifications
Documentation
doc
doc-required
doc-not-needed
doc-complete