Add function to verify targeted shards are using MVRT

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-04-09
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implement

       /**
       * Verifies that the shardIds are the same as they were atClusteTime using versioned table.
       */
      bool verifyTargetedShardsAtClusterTime(OperationContext* opCtx,
                                             std::set<ShardId> shardIds,
                                             LogicalTime atClusterTime);
      
      

      It also need to take CatalogCache as an argument - depends on the MVRT API

      Must include unit tests.

            Assignee:
            Misha Tyulenev (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: