summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batch_write_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/write_ops/batch_write_exec.h')
-rw-r--r--src/mongo/s/write_ops/batch_write_exec.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mongo/s/write_ops/batch_write_exec.h b/src/mongo/s/write_ops/batch_write_exec.h
index bb900b2825e..e29a80a9a72 100644
--- a/src/mongo/s/write_ops/batch_write_exec.h
+++ b/src/mongo/s/write_ops/batch_write_exec.h
@@ -75,11 +75,8 @@ public:
*/
void executeBatch(OperationContext* txn,
const BatchedCommandRequest& clientRequest,
- BatchedCommandResponse* clientResponse);
-
- const BatchWriteExecStats& getStats();
-
- BatchWriteExecStats* releaseStats();
+ BatchedCommandResponse* clientResponse,
+ BatchWriteExecStats* stats);
private:
// Not owned here
@@ -90,9 +87,6 @@ private:
// Not owned here
MultiCommandDispatch* _dispatcher;
-
- // Stats
- std::unique_ptr<BatchWriteExecStats> _stats;
};
struct HostOpTime {