summaryrefslogtreecommitdiff
path: root/jstests/sharding/append_oplog_note_mongos.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/append_oplog_note_mongos.js')
-rw-r--r--jstests/sharding/append_oplog_note_mongos.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/sharding/append_oplog_note_mongos.js b/jstests/sharding/append_oplog_note_mongos.js
index 641ccf25c2b..1369ecb06be 100644
--- a/jstests/sharding/append_oplog_note_mongos.js
+++ b/jstests/sharding/append_oplog_note_mongos.js
@@ -41,11 +41,6 @@ assert(res.hasOwnProperty("raw"), res);
appendOplogNoteFailpoint.wait();
appendOplogNoteFailpoint.off();
-// Force a database refresh on the sharding side so that the corresponding config.cache.databases
-// entry is already in the oplog before we start issuing successful appendOplogNote commands.
-assert.commandWorked(shardOnePrimary.adminCommand({_flushDatabaseCacheUpdates: "config"}));
-assert.commandWorked(shardTwoPrimary.adminCommand({_flushDatabaseCacheUpdates: "config"}));
-
// Test that a successful 'appendOplogNote' command performs a no-op write and advances the
// $clusterTime.
const shardOneBefore =