diff options
author | XueruiFa <xuerui.fa@mongodb.com> | 2021-05-28 15:42:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-02 15:52:46 +0000 |
commit | 8210bff0c499fb76e6c6149b21ab33df98097d7c (patch) | |
tree | d3a3b2c48816379212755906f26c91febb791cda /src/mongo/shell | |
parent | c6ae43c162ec134c1c6ba2b768b68ff3fcba927b (diff) | |
download | mongo-8210bff0c499fb76e6c6149b21ab33df98097d7c.tar.gz |
SERVER-57284: Wait for config commitment in reconfig_for_psa_set_shell.js
Diffstat (limited to 'src/mongo/shell')
-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"; |