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

Make 'kudu cluster ksck' warn about tables with RF=1

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • CLI

    Description

      Sometimes Kudu tables are created with RF=1 (replication factor), meaning there is only one replica of each tablet in the Kudu cluster. While it might be the desired outcome in most cases where the replication factor for the table is specified explicitly in the client request, sometimes it's not, and people might be unpleasantly surprised in the future when they find that their data is gone when just one tablet server out of many in their cluster had a disk (or other hardware) failure.

      It would be nice to make the kudu cluster ksck CLI to output a warning if detecting such tables in a Kudu cluster. Maybe, there should be a flag for the kudu cluster ksck CLI tool to specify the default replication factor for a table, and by default it should be set to the same as the master's default_num_replicas flag.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            aserbin Alexey Serbin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment