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

Pull the epoch/timestamp parts of ChunkVersion into a CollectionGeneration class

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30

    Description

      The ChunkVersion consists of a "most-significant" epoch/timestamp part which represents the generation of the collection and a subordinate major/minor parts. There are a lot of places in the code which either use epoch/timestamp separately or a half-initialised ChunkVersion in order to ensure that two collections are the same. This logic should be extracted into a separate class called CollectionGeneration instead.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: