This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Chunk missing revisions before attempting to save on target
In cases with pathological documents revision patterns (e.g., 10000 open conflicts and tree depth of 300000 on a single document), attempting to replicate the full revision tree in one batch causes the system to crash by attempting to send an oversized message. We've observed messages of > 4GB in the wild. This patch divides the set of revisions-to-replicate for a single document into chunks of a configurable size, thereby allowing operators to keep the system stable when attempting to replicate these troublesome documents. BugzID: 37676
- Loading branch information