Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-54185 shard_aware_init_secondaries.js should use ↵ | Pavi Vetriselvan | 2021-02-09 | 1 | -1/+1 |
| | | | | initiateWithHighElectionTimeout | ||||
* | SERVER-51230 jstests which use shardingStatus's configServer response field ↵ | Kevin Pulo | 2020-09-30 | 1 | -2/+4 |
| | | | | should wait for RSM updates | ||||
* | SERVER-50581 Replace setSlaveOk and getSlaveOk occurrences in jstests | Ali Mir | 2020-09-09 | 1 | -2/+2 |
| | |||||
* | SERVER-49993 Change ReplSetTest functions that use master/slave terminology | Ali Mir | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | SERVER-44672 Restart secondary without options in ↵ | Janna Golden | 2019-11-18 | 1 | -2/+1 |
| | | | | shard_aware_init_secondaries.js | ||||
* | SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with ↵ | James Wahlin | 2019-08-14 | 1 | -1/+1 |
| | | | | assert.commandWorked() | ||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -64/+63 |
| | |||||
* | SERVER-32597 Bump generic fCV references | Maria van Keulen | 2018-02-21 | 1 | -8/+0 |
| | |||||
* | SERVER-29452 Handle missing featureCompatibilityVersion document | Maria van Keulen | 2017-10-16 | 1 | -0/+9 |
| | |||||
* | SERVER-24463 make upsert commands in shard_aware*.js tests mimic the command ↵ | Esha Maharishi | 2016-09-15 | 1 | -1/+10 |
| | | | | sent by the config server | ||||
* | SERVER-23814 Add sharding state initialization to secondaries | Randolph Tan | 2016-04-26 | 1 | -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. |