Skip to content

Commit 2cb37c2

Browse files
authored
REP-4388: Add notes on performance problems. (#18)
* add performance note * remove bullet
1 parent 7dbd9b1 commit 2cb37c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,12 @@ Any collection metadata mismatches will occur in a task with the type '`verifyCo
229229
230230
In this case, '`failed_docs`' contains all the meta data mismatches, in this case an index named '`x_1`'.
231231
232+
# Performance
233+
234+
The migration-verifier optimizes for the case where a migration’s initial sync is completed **and** change events are relatively infrequent. If you start verification before initial sync finishes, or if the source cluster is too busy, the verification may freeze.
235+
236+
The migration-verifier is also rather resource-hungry. To mitigate this, try limiting its number of workers (i.e., `--numWorkers`), its partition size (`--partitionSizeMB`), and/or its process group’s resource limits (see the `ulimit` command in POSIX OSes).
237+
232238
# Known Issues
233239
234240
- The verifier may report missing documents on the destination that don’t actually appear to be missing (i.e., a nonexistent problem). This has been hard to reproduce. If missing documents are reported, it is good practice to check for false positives.

0 commit comments

Comments
 (0)