diff options
Diffstat (limited to 'src/mongo/shell/replsettest.js')
-rw-r--r-- | src/mongo/shell/replsettest.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js index f336f4b6b9f..b0da6f74c08 100644 --- a/src/mongo/shell/replsettest.js +++ b/src/mongo/shell/replsettest.js @@ -1213,8 +1213,9 @@ var ReplSetTest = function(opts) { } /** - * Wait until the config on the primary becomes committed. Callers specify the primary in case - * this must be called when two nodes are expected to be concurrently primary. + * Wait until the config on the primary becomes replicated. Callers specify the primary in case + * this must be called when two nodes are expected to be concurrently primary. This does not + * necessarily wait for the config to be committed. */ this.waitForConfigReplication = function(primary, nodes) { const nodeHosts = nodes ? tojson(nodes.map((n) => n.host)) : "all nodes"; |