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

Chunk diffing code roundtrips between ChunkType and BSON during reload

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.2.10, 3.4.0-rc0
    • Fix Version/s: 3.4.0-rc1
    • Component/s: Sharding
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.2
    • Sprint:
      Sharding 2016-10-31
    • Case:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: