Skip to content

Fix crash consistency issue with alternate logs (#100)#109

Merged
Andiry merged 1 commit intoNVSL:masterfrom
hayley-leblanc:issue_100
Jul 18, 2021
Merged

Fix crash consistency issue with alternate logs (#100)#109
Andiry merged 1 commit intoNVSL:masterfrom
hayley-leblanc:issue_100

Conversation

@hayley-leblanc
Copy link
Copy Markdown
Contributor

This PR has a fix for the crash consistency bug described in issue #100. The issue could occur if the system crashed between initializing an inode's main and alternate logs. In the current version of NOVA, the inode's checksum is updated after the main log is initialized and again after the alternate log is initialized. Crashing between these updates can lead to a state where NOVA assumes that both logs are initialized, causing incorrect behavior. This fix moves the checksum update to occur after initialization of both logs, which prevents this issue.

@Andiry Andiry merged commit b04a2c8 into NVSL:master Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants