summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/op_observer_sharding_impl.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2022-07-15 09:35:12 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-15 14:09:00 +0000
commit6b60d7b2304cf01a1ad6109d7a15b66db5889ad0 (patch)
tree6b2887227138ded79739bc26e0c37eea67a5c3b8 /src/mongo/db/s/op_observer_sharding_impl.h
parent3bf33a7f67667dbe5c1785c2d6a55a19cd17fb4e (diff)
downloadmongo-6b60d7b2304cf01a1ad6109d7a15b66db5889ad0.tar.gz
SERVER-67508 OpObserverImpl constructor accepts OplogWriter
Diffstat (limited to 'src/mongo/db/s/op_observer_sharding_impl.h')
-rw-r--r--src/mongo/db/s/op_observer_sharding_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/op_observer_sharding_impl.h b/src/mongo/db/s/op_observer_sharding_impl.h
index aa47a4026c8..2c18fccc416 100644
--- a/src/mongo/db/s/op_observer_sharding_impl.h
+++ b/src/mongo/db/s/op_observer_sharding_impl.h
@@ -37,6 +37,8 @@ class ShardingWriteRouter;
class OpObserverShardingImpl : public OpObserverImpl {
public:
+ OpObserverShardingImpl(std::unique_ptr<OplogWriter> oplogWriter);
+
// True if the document being deleted belongs to a chunk which, while still in the shard,
// is being migrated out. (Not to be confused with "fromMigrate", which tags operations
// that are steps in performing the migration.)