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

Move should-split logic from cluster_write.cpp to chunk.cpp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.11
    • 3.5.10
    • Sharding
    • Fully Compatible

    Description

      Inside the updateChunkWriteStatsAndSplitIfNeeded function, there exists logic to check whether a particular chunk should be split, using the calculateDesiredChunkSize function to return the splitThreshold.

      The calculation of splitThreshold should be moved into the addBytesWritten function inside of chunk.cpp.

      Attachments

        Activity

          People

            hugh.han Hugh Han
            hugh.han Hugh Han
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: