[
https://issues.apache.org/jira/browse/ASTERIXDB-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825763#comment-17825763
]
ASF subversion and git services commented on ASTERIXDB-3364:
------------------------------------------------------------
Commit 909122c3b8e5ed33e048967a0bce0f4eede5a42a in asterixdb's branch
refs/heads/master from Murtadha Makki Al Hubail
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=909122c3b8 ]
[ASTERIXDB-3364][STO] Use bootstrap marker during metadata bootstrap
- user model changes: no
- storage format changes: no
- interface changes: yes
Details:
- Before bootstrapping the metadata catalog for the first time,
put a bootstrap marker (file) in the blob storage to indicate
that the metadata hasn't been fully bootstrapped.
- Delete the bootstrap marker from the blob storage on successful
metadata bootstrap attempts.
- When checking the system state on missing checkpoints, check
for the bootstrap marker to detect failed bootstrap attempts.
- Delete any existing metadata files from the blob storage if
the bootstrap marker is found to start from a clean state.
Change-Id: I805bf1cbdfb58690876da0c68840ed2c365742a4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18199
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
> crashing during metadata bootstrap results in a subsequent crash loop
> ---------------------------------------------------------------------
>
> Key: ASTERIXDB-3364
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3364
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: STO - Storage
> Affects Versions: 0.9.9
> Reporter: Murtadha Makki Al Hubail
> Assignee: Murtadha Makki Al Hubail
> Priority: Major
> Fix For: 0.9.9
>
>
> In cloud deployment, if the metadata node crashes during metadata bootstrap,
> subsequent attempts result in a crash loop due to the missing metadata
> indexes that are expected to be there.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)