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

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

      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.

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

              Created:
              Updated:
              Resolved: