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

XMLWordPrintableJSON

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

      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
              Reporter:
              Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: