diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp')
| -rw-r--r-- | src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp b/src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp index c7efa6d33e4..4ff29b42d30 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_batch_applier.cpp @@ -29,8 +29,12 @@ #define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kResharding +#include "mongo/platform/basic.h" + #include "mongo/db/s/resharding/resharding_oplog_batch_applier.h" +#include <memory> + #include "mongo/db/s/operation_sharding_state.h" #include "mongo/db/s/resharding/resharding_data_copy_util.h" #include "mongo/db/s/resharding/resharding_future_util.h" @@ -79,8 +83,8 @@ SemiFuture<void> ReshardingOplogBatchApplier::applyBatch( // ReshardingOpObserver depends on the collection metadata being known // when processing writes to the temporary resharding collection. We // attach shard version IGNORED to the write operations and retry once - // on a StaleConfig error to allow the collection metadata information to - // be recovered. + // on a StaleConfig exception to allow the collection metadata + // information to be recovered. ScopedSetShardRole scopedSetShardRole( opCtx.get(), _crudApplication.getOutputNss(), |
