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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Hugh Han (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: