Alexey Serbin created KUDU-3512:
-----------------------------------
Summary: Make 'kudu cluster ksck' warn about tables with RF=1
Key: KUDU-3512
URL: https://issues.apache.org/jira/browse/KUDU-3512
Project: Kudu
Issue Type: Improvement
Components: CLI
Reporter: Alexey Serbin
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|https://kudu.apache.org/docs/configuration_reference.html#kudu-master_default_num_replicas]
flag.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)