Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29342

CollectionShardingState to support oplog event StartRangeDeletion

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.9
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2017-05-29, Sharding 2017-06-19
    • Linked BF Score:
      0

      Description

      Support for Safe Secondary Reads requires assistance from CollectionShardingState subsystem, including MetadataManager and CollectionRangeDeleter.

      Specifically:

      • ScopedCollectionMetadata::operator==, !=
      • CollectionShardingState::overlappingMetadata(ChunkRange)
        -> std::vector<ScopedCollectionMetadata>
      • CollectionRangeDeleter to write a document StartRangeDeletion to collection admin.system.version containing

          { _id: 'startRangeDeletion', ns:<collection>, epoch:<epoch>, min:<low>, max:<high> }
          

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nathan.myers Nathan Myers
              Reporter:
              nathan.myers Nathan Myers
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: