diff options
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.h')
-rw-r--r-- | src/mongo/db/s/migration_chunk_cloner_source_legacy.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h index 7990615e38f..9d438d20eb0 100644 --- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h +++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h @@ -224,7 +224,9 @@ private: StatusWith<BSONObj> _callRecipient(const BSONObj& cmdObj); StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> _getIndexScanExecutor( - OperationContext* opCtx, Collection* const collection); + OperationContext* opCtx, + Collection* const collection, + InternalPlanner::IndexScanOptions scanOption); void _nextCloneBatchFromIndexScan(OperationContext* opCtx, Collection* collection, @@ -387,10 +389,6 @@ private: // The current state of 'clonerExec'. PlanExecutor::ExecState clonerState; - // RecordId of the last doc read in by 'clonerExec' if collection scan yields during - // cloning. - boost::optional<RecordId> stashedRecordId; - // Number docs in jumbo chunk cloned so far int docsCloned = 0; }; |