You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2017/04/06 19:45:42 UTC

[jira] [Created] (KUDU-1966) Data directories can be removed erroneously

Adar Dembo created KUDU-1966:
--------------------------------

             Summary: 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: Adar Dembo


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)