diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_session_application.cpp')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_oplog_session_application.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_session_application.cpp b/src/mongo/db/s/resharding/resharding_oplog_session_application.cpp index 0d1f6ac140a..44251fa39dc 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_session_application.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_session_application.cpp @@ -110,8 +110,9 @@ boost::optional<SharedSemiFuture<void>> ReshardingOplogSessionApplication::tryAp auto lsid = *op.getSessionId(); if (isInternalSessionForNonRetryableWrite(lsid)) { - // TODO (SERVER-63877): Determine if resharding should migrate internal sessions for - // non-retryable writes. + // Skip internal sessions for non-retryable writes since they only support transactions + // and those transactions are not retryable so there is no need to transfer the write + // history to resharding recipient(s). return boost::none; } if (isInternalSessionForRetryableWrite(lsid)) { |