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
432
432
}
433
433
break ;
434
434
}
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 :
437
438
case OplogEntry::CommandType::kCommitIndexBuild :
438
439
case OplogEntry::CommandType::kCommitTransaction :
439
440
case OplogEntry::CommandType::kAbortTransaction : {
Original file line number Diff line number Diff line change @@ -419,8 +419,11 @@ Status rollback_internal::updateFixUpInfoFromLocalOplogEntry(OperationContext* o
419
419
420
420
return Status::OK ();
421
421
}
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
+ }
424
427
case OplogEntry::CommandType::kCommitIndexBuild : {
425
428
return Status::OK ();
426
429
}
You can’t perform that action at this time.
0 commit comments