Andrew Wong created KUDU-2519:
---------------------------------
Summary: Tool to overwrite corrupted cblocks in a CFile
Key: KUDU-2519
URL: https://issues.apache.org/jira/browse/KUDU-2519
Project: Kudu
Issue Type: New Feature
Components: cfile
Reporter: Andrew Wong
Assignee: Andrew Wong
In cases where a cblock* is corrupted in a CFile and other replicas are not
available to copy from, what's left is a tablet that will truncate scans with a
corruption error. Such scans are stopped when the scan hits the bad cblock,
even if most of the data is healthy. One of the few if not only options that
exists to work around this is to use the `kudu tablet unsafe_replace_replica`
tool to drop the affected tablet completely, allowing users to still run
queries against the remainder of the table.
To minimize data loss, it'd be nice if there existed a tool that fills in
corrupted cblocks with dummy/default data, with the understanding that existing
data for that cblock has been lost forever. That way, users would at least be
able to operate on their tables (albeit with some missing data).
*cblock refers to a block internal to each CFile to avoid confusion with
fs::Block
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)