You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Murtadha Hubail (JIRA)" <ji...@apache.org> on 2018/01/08 12:22:00 UTC

[jira] [Created] (ASTERIXDB-2234) Valid Components Should Be Determined by Index Checkpoint

Murtadha Hubail created ASTERIXDB-2234:
------------------------------------------

             Summary: Valid Components Should Be Determined by Index Checkpoint
                 Key: ASTERIXDB-2234
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2234
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: STO - Storage
            Reporter: Murtadha Hubail
            Assignee: Murtadha Hubail


Currently, valid disk component are determined by their validity bit. However, if a crash happens in the small window after the validity bit is set but before the index checkpoint is updated, the component shouldn't be considered valid. This can be avoided by cleaning any components that have greater timestamp than the checkpoint valid component timestamp on node startup. This will also give the advantage of cleaning any index invalid components without having to active the index.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)