Use kStrictlyNotIdempotent in migration functions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Resilience
    • Fully Compatible
    • Workload Resilience 2025-10-13, Workload Resilience 2025-10-27, Workload Resilience 2025-11-10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are several functions in migration related code that we need to evaluate if we can use kStrictlyNotIdempotent instead of kNoRetry.

      Since RetryableError is always safe to retry, it should in theory be possible.

      • MigrationBatchFetcher::_fetchBatch (migration_batch_fetcher.cpp)
      • 2 instances in MigrationDestinationManager::_migrateDriver (migration_destination_manager.cpp)
      • getNextSessionOplogBatch (session_catalog_migration_destination.cpp)

            Assignee:
            Guillaume Racicot
            Reporter:
            Guillaume Racicot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: