0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests
Jason Carey 303adb5e50 SERVER-41799 await stable TS in shard_aware_init
We currently spin up sharding in advance of replication (see
SERVER-41005). Because of that, it is possible for sharding to miss out
on certain writes on startup (writes to admin.system.version that are
still in the oplog and haven't yet been recovered).

It's going to be quite difficult to untangle all the dependencies
between sharding and replication, and in the mean while shard_aware_init
has more failures than we'd like. See BF-12759. That particular test
specifically checks that corrupting our version (via a manual update to
admin.system.version) causes mongod to crash on startup. The problem is
that because we start sharding before replication (and also do a
complicated dance of restarting in standalone mode to corrupt the
document), we can perform an update when the document we want to modify
isn't present (because it's still in the oplog and we're in standalone
mode), and then fail to crash on startup.

So let's fix up that test by waiting to flush the oplog before shutting
down the node (when in replica set mode).
2019-06-19 15:18:33 -04:00
..
aggregation SERVER-41237 Re-ban $graphLookup against a sharded collection 2019-06-18 11:39:13 -04:00
auth SERVER-40432 Undo 4.2 changes to $out 2019-05-30 23:18:38 +01:00
change_streams SERVER-41183 Add test suites for change streams with transactions 2019-06-14 18:31:40 -04:00
client_encrypt SERVER-41644 Expose explicit encryption helpers in community shell 2019-06-18 00:19:33 -04:00
concurrency SERVER-41065 Make agg evaluate() thread safe by passing 'Variables' as a parameter 2019-06-12 11:42:39 +01:00
core SERVER-41655 Add classes RefineCollectionShardKeyCommand and ConfigsvrRefineCollectionShardKeyCommand 2019-06-18 09:18:07 -04:00
core_standalone
decimal
disk SERVER-7019 Return initial sync status information by default in replSetGetStatus and remove it after successful initial sync attempt 2019-06-13 17:04:31 -04:00
fail_point
free_mon
gle
hooks
httpinterface
libs SERVER-41183 Add test suites for change streams with transactions 2019-06-14 18:31:40 -04:00
multiVersion SERVER-41263 Add update and repl tests for index keys with empty strings 2019-06-10 17:47:10 -04:00
noPassthrough SERVER-41785 Improve robustness of change_streams_resume_same_clustertime_different_uuid.js 2019-06-18 11:08:07 +01:00
noPassthroughWithMongod SERVER-41000 Fix typo in failpoint writeConfilctInRenameCollCopyToTmp 2019-05-31 11:34:46 -04:00
parallel
perf
readonly
replsets SERVER-41163 apply operations separately during initial sync commit transaction oplog application 2019-06-19 14:03:34 -04:00
serial_run
sharding SERVER-41799 await stable TS in shard_aware_init 2019-06-19 15:18:33 -04:00
slow1
ssl SERVER-41069 Add option to disable embedded roles from X509 certificates 2019-06-11 14:12:51 -04:00
sslSpecial
tool
watchdog