You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Wail Y. Alkowaileet (Jira)" <ji...@apache.org> on 2024/07/01 17:35:00 UTC

[jira] [Created] (ASTERIXDB-3448) Delete partially downloaded files on bootstrap

Wail Y. Alkowaileet created ASTERIXDB-3448:
----------------------------------------------

             Summary: Delete partially downloaded files on bootstrap
                 Key: ASTERIXDB-3448
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3448
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: STO - Storage
    Affects Versions: 0.9.9
            Reporter: Wail Y. Alkowaileet
            Assignee: Wail Y. Alkowaileet
             Fix For: 0.9.10


When an index is opened, the parallel cacher downloads all of the index files in all partitions. However, this download operation could be interrupted and partially downloaded files could reside on the local drive. 

The node's partitions bootstrapper doesn't ensure a file is partially downloaded. Thus, the cacher thinks such a file is valid and removes it from the uncached files' list.

To remedy this, the node's partitions bootstrapper should ensure that all files in the local drive are valid and are not partially downloaded.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)