Chunk diffing code roundtrips between ChunkType and BSON during reload

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

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

              Created:
              Updated:
              Resolved: