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

Change Chunk version persisted format

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2022-02-07, Sharding EMEA 2022-02-21

    Description

      Currently, when persisted, we have a positional like format for the chunk version, but eventually, we want to manage an object like format everywhere:

      {
        t: <Collection timestamp>,
        e: <Collection epoch OID>,
        i: <Index timestamp>,
        v: <Collection major|minor version encoded as uint64_t>,
      }
      

      After the completion of this ticket, any cluster being upgraded to the next LTS version, will ensure, through the FCV upgrade code, all persisted ChunkVersions (like for example, the migration coordinator document) will have the format described above. In a similar manner, when downgrading to a continuous or latest stable version, the object format will be changed to the current positional format.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: