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

Pass the collection epoch and timestamp when building a ChunkType from a config.chunks BSON

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v5.0
    • Sharding EMEA 2021-06-14

    Description

      This is the first step towards getting rid of epochs and timestamps in config.chunks.

      The task here is extending ChunkType::fromConfigBSON method with the collection epoch and collection timestamp.

      Ideally we would like to check that the epoch/timestamp in disk and the ones being passed are the same. However I believe that this is not possible in some situations: the config CC loader can see inconsistencies between config.collections and config.chunks right now.

      Attachments

        Issue Links

          Activity

            People

              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: