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

Chunk diffing code roundtrips between ChunkType and BSON during reload

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.4.0-rc1
    • Affects Version/s: 3.2.10, 3.4.0-rc0
    • Component/s: Sharding
    • Fully Compatible
    • v3.2
    • Sharding 2016-10-31

      The chunk diffing code serializes a ChunkType object to BSON and then deserializes it just so it can extract the chunk version. This is unnecessary and inefficient since the chunk version is already present in the chunk object.

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

              Created:
              Updated:
              Resolved: