summaryrefslogtreecommitdiff
path: root/src/mongo/s/cluster_write.h
diff options
context:
space:
mode:
authorLingzhi Deng <lingzhi.deng@mongodb.com>2023-01-31 04:33:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-01-31 05:08:35 +0000
commit33fb19c76eb1323c348f3aaeaf8eebd78def4b09 (patch)
tree5a3bf566e35c5a7e79f42466e421b4c2a02ad865 /src/mongo/s/cluster_write.h
parentcdbfa41dcabb3d52ebf093f13d2b1bacd2af1b8a (diff)
downloadmongo-33fb19c76eb1323c348f3aaeaf8eebd78def4b09.tar.gz
SERVER-72637: Implement the skeleton of BulkWriteExec on mongos
Diffstat (limited to 'src/mongo/s/cluster_write.h')
-rw-r--r--src/mongo/s/cluster_write.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/s/cluster_write.h b/src/mongo/s/cluster_write.h
index 66333aefe9b..80c0d83fff2 100644
--- a/src/mongo/s/cluster_write.h
+++ b/src/mongo/s/cluster_write.h
@@ -30,6 +30,7 @@
#pragma once
#include "mongo/s/write_ops/batch_write_exec.h"
+#include "mongo/s/write_ops/bulk_write_exec.h"
namespace mongo {
namespace cluster {
@@ -44,5 +45,9 @@ void write(OperationContext* opCtx,
BatchedCommandResponse* response,
boost::optional<OID> targetEpoch = boost::none);
+void bulkWrite(OperationContext* opCtx,
+ const BulkWriteCommandRequest& request,
+ BulkWriteCommandReply* reply);
+
} // namespace cluster
} // namespace mongo