mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
edc3dfce51
The updates_in_heterogeneous_repl_set.js test wants to call stepUp() on each of its replica set members to ensure that each one gets an opportunity to handle inserts and updates. However, we found that the stepUp()-triggered election was occasionally failing, because even though a call to awaitReplication() ensured that all members were caught up on their oplogs, some members were not aware that their peers were caught up. The new awaitNodesAgreeOnOpTime() function uses an assert.soon() to wait until all the members are caught up on their peers' status, so that the election always succeeds. |
||
---|---|---|
.. | ||
aggregation | ||
auth | ||
change_streams | ||
concurrency | ||
core | ||
decimal | ||
disk | ||
dur | ||
fail_point | ||
gle | ||
hooks | ||
httpinterface | ||
libs | ||
master_slave | ||
mmap_v1 | ||
multiVersion | ||
noPassthrough | ||
noPassthroughWithMongod | ||
parallel | ||
perf | ||
readonly | ||
replsets | ||
serial_run | ||
sharding | ||
slow1 | ||
ssl | ||
sslSpecial | ||
tool |