fix(replication): surface HTTP 413 via paused/error events#9185
fix(replication): surface HTTP 413 via paused/error events#9185Mayankaggarwal8055 wants to merge 1 commit intoapache:masterfrom
Conversation
|
This PR addresses issue #9165 by surfacing HTTP 413 errors during live replication through Currently the workflow is awaiting maintainer approval before CI can run. Thanks! |
|
Hey @janl , could you please take a look at this when you have a moment? This PR addresses the issue where HTTP 413 errors during live replication were being silently retried instead of being surfaced properly. The change treats 413 as a fatal error and emits paused(err) and error(err) events so users can handle it as expected. The fix is minimal and keeps the existing flow intact while improving error visibility. Also, the workflow is currently awaiting maintainer approval—could you please approve it so the CI checks can run? Thanks! 🙌 |
Fixes #9165
HTTP 413 (Content Too Large) from CouchDB
_bulk_docsduring live replication was silently retried viabackOff()instead of surfacing throughpaused(err)events as users expect.Solution: In
completeReplication(), treat 413 as fatal - emitpaused(error)+error(error)and stop retrying.Changes: