Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2911

Consider the free space when select data dirs for tablets

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: n/a
    • Component/s: None
    • Labels:
      None

      Description

      Currently, it only consider the tablets number in a data dir when finding the suitable dir group for new tablets. It randomly select directories andĀ gives preference to those with fewer tablets. We should also consider free disk space to prevent insufficient space dir being selected and subsequence writing will fail.

      Maybe use FreeByte / TabletNumbers to measure is a way to consider both the tablet number and the free space.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ZhangYao ZhangYao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: