File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -432,8 +432,9 @@ StatusWith<std::set<NamespaceString>> RollbackImpl::_namespacesForOp(const Oplog
432432 }
433433 break ;
434434 }
435- // TODO(SERVER-39451): Ignore no-op commitIndexBuild command for now. Revisit when we
436- // are ready to implement rollback logic.
435+ // TODO(SERVER-39451): Ignore no-op startIndexBuild and commitIndexBuild commands.
436+ // Revisit when we are ready to implement rollback logic.
437+ case OplogEntry::CommandType::kStartIndexBuild :
437438 case OplogEntry::CommandType::kCommitIndexBuild :
438439 case OplogEntry::CommandType::kCommitTransaction :
439440 case OplogEntry::CommandType::kAbortTransaction : {
Original file line number Diff line number Diff line change @@ -419,8 +419,11 @@ Status rollback_internal::updateFixUpInfoFromLocalOplogEntry(OperationContext* o
419419
420420 return Status::OK ();
421421 }
422- // TODO(SERVER-39452): Ignore no-op commitIndexBuild command for now. Revisit when we
423- // are ready to implement rollback logic.
422+ // TODO(SERVER-39452): Ignore no-op startIndexBuild and commitIndexBuild commands.
423+ // Revisit when we are ready to implement rollback logic.
424+ case OplogEntry::CommandType::kStartIndexBuild : {
425+ return Status::OK ();
426+ }
424427 case OplogEntry::CommandType::kCommitIndexBuild : {
425428 return Status::OK ();
426429 }
You can’t perform that action at this time.
0 commit comments