[
https://issues.apache.org/jira/browse/ASTERIXDB-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Murtadha Hubail resolved ASTERIXDB-2234.
----------------------------------------
Resolution: Fixed
> 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)