You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Dan Burkert (JIRA)" <ji...@apache.org> on 2017/04/13 00:08:41 UTC
[jira] [Commented] (KUDU-1966) Data directories can be removed
erroneously
[ https://issues.apache.org/jira/browse/KUDU-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15966899#comment-15966899 ]
Dan Burkert commented on KUDU-1966:
-----------------------------------
Resolved by [bd24f04fb43db9f1fcbf9a60ecc31824c3c79bfd|https://github.com/apache/kudu/commit/bd24f04fb43db9f1fcbf9a60ecc31824c3c79bfd].
> Data directories can be removed erroneously
> -------------------------------------------
>
> Key: KUDU-1966
> URL: https://issues.apache.org/jira/browse/KUDU-1966
> Project: Kudu
> Issue Type: Bug
> Components: fs
> Affects Versions: 1.4.0
> Reporter: Adar Dembo
> Assignee: Dan Burkert
>
> Kudu data directories can be removed in between starts of a server, which will lead to tablet bootstrap failures. There exists logic to protect against this (see [PathInstanceMetadataFile::CheckIntegrity()|https://github.com/apache/kudu/blob/master/src/kudu/fs/block_manager_util.h#L78]), but it was missing a key check to ensure that no directory had been removed from the set.
> To be clear, we do want to support removing data directories, but in a more structured and protected manner. For the time being, we should close this loophole.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)