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

Perform MinKey/MaxKey checking inside Chunk::shouldSplit, instead of taking minIsInf/maxIsInf parameters

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.10
    • Component/s: Sharding
    • None
    • Sharding 2018-06-04

      Currently, checking whether a chunk contains the MinKey or MaxKey occurs outside of the Chunk::shouldSplit function, inside cluster_write.cpp.

      Instead, this check should be contained inside Chunk::shouldSplit itself for better design, and so that we don't have to pass in extra parameters.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            hugh.han Hugh Han
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: