-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][broker]excessive replication speed leads to error: Producer send queue is full #24189
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]excessive replication speed leads to error: Producer send queue is full #24189
Conversation
|
@poorbarcode is there any relationship to PIP-269: Add an epoch of cursor to discard outdated reading or any other previous reported issues ? |
It does not relate to |
|
/pulsarbot rerun-failure-checks |
424c175 to
1d6d5be
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #24189 +/- ##
============================================
+ Coverage 73.57% 74.26% +0.68%
- Complexity 32624 32752 +128
============================================
Files 1877 1868 -9
Lines 139502 145542 +6040
Branches 15299 16660 +1361
============================================
+ Hits 102638 108081 +5443
- Misses 28908 28924 +16
- Partials 7956 8537 +581
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
...roker/src/main/java/org/apache/pulsar/broker/service/persistent/GeoPersistentReplicator.java
Show resolved
Hide resolved
...r-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentReplicator.java
Outdated
Show resolved
Hide resolved
...r-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentReplicator.java
Outdated
Show resolved
Hide resolved
|
test failure: could be a flaky test, attempt to fix was #24141 |
|
there seems to be more flakiness in tests. I can see the first attempt failed in a replication test as well |
lhotari
left a comment
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.
Please debug the flaky test failures in replication tests before we merge this change.
|
/pulsarbot rerun-failure-checks |
…ersistent/PersistentReplicator.java Co-authored-by: Kai Wang <kwang@streamnative.io>
7a565f2 to
880ba91
Compare
|
Dismissed @lhotari's request change because he did not reply for a long time |
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io> (cherry picked from commit 37b17d3) (cherry picked from commit 1d49396)
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io> (cherry picked from commit 37b17d3) (cherry picked from commit 96be3bb)
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io> (cherry picked from commit 37b17d3) (cherry picked from commit 1d49396)
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io> (cherry picked from commit 37b17d3) (cherry picked from commit 96be3bb)
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io>
…d queue is full (apache#24189) Co-authored-by: Kai Wang <kwang@streamnative.io>
Motivation
Background
replicationProducerQueueSizependingMessagesthat records how many messages are pending to be publishedfetchSchemaInProgressastruewaitForCursorRewindingastrueinflight cursor reading, which was limited byhavePendingRead.inflight publishingIssue: The multiple mechanisms described above can not work well
read more entries Aread more entries B10001000havePendingRead -> true1000msgshavePendingRead -> true1000msgs are still in-progress1000msgs2000msgs in publishing, which is more than expected, get errorProducer send queue is fullread more entries, leads the situation baderModifications
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: x