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

Consider the free space when select data dirs for tablets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • n/a
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: