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

Redistribute tablet data when removing directories

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fs, tablet
    • Labels:
      None
    • Target Version/s:

      Description

      Today, the `update_dirs` tool will allow the removal of a directory, even if tablet data exists on it. For tablet servers, this means upon the next startup, those tablets will be re-replicated to other servers. For masters, this means the node will crash.

      While a well-provisioned Kudu cluster should be able to handle both of these cases, it would be nice to redistribute the tablet's data locally to avoid either outcome. This entails moving the data blocks from the removed directory, and rewriting the tablet metadata (which keeps a record of the data directories across which the tablet's data is stored) to exclude the removed directory.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrew.wong Andrew Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: