summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard_aware_init_secondaries.js
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-54185 shard_aware_init_secondaries.js should use ↵Pavi Vetriselvan2021-02-091-1/+1
| | | | initiateWithHighElectionTimeout
* SERVER-51230 jstests which use shardingStatus's configServer response field ↵Kevin Pulo2020-09-301-2/+4
| | | | should wait for RSM updates
* SERVER-50581 Replace setSlaveOk and getSlaveOk occurrences in jstestsAli Mir2020-09-091-2/+2
|
* SERVER-49993 Change ReplSetTest functions that use master/slave terminologyAli Mir2020-09-031-1/+1
|
* SERVER-44672 Restart secondary without options in ↵Janna Golden2019-11-181-2/+1
| | | | shard_aware_init_secondaries.js
* SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with ↵James Wahlin2019-08-141-1/+1
| | | | assert.commandWorked()
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-64/+63
|
* SERVER-32597 Bump generic fCV referencesMaria van Keulen2018-02-211-8/+0
|
* SERVER-29452 Handle missing featureCompatibilityVersion documentMaria van Keulen2017-10-161-0/+9
|
* SERVER-24463 make upsert commands in shard_aware*.js tests mimic the command ↵Esha Maharishi2016-09-151-1/+10
| | | | sent by the config server
* SERVER-23814 Add sharding state initialization to secondariesRandolph Tan2016-04-261-0/+62
Outside of the OpObserver, there are currently 2 places where shard initialization occurs: during startup and during transition to primary. This patch takes out the if !replSet condition in startup so secondaries will now also perform shard initialization. This also means that if the node will eventually become a primary, it will perform the initialization twice. However, since it is already initialized, most of it will be no-op the second time around. In summary: - secondaries initializes sharding state. - nodes that will become primary will do what secondaries do. And on top of that, will read the minOpTime document and update it if minOpTimeUpdaters > 0.