Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/log: Fix log index after reboot #3169

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

vrahane
Copy link
Contributor

@vrahane vrahane commented Mar 21, 2024

  • Log index was incrementing twice on a reboot, once when the log entry gets prepared to append and once when the log is registered. This fixes it by not-incrementing when the log gets registered.

@vrahane vrahane merged commit efa22cb into apache:master Mar 21, 2024
17 checks passed
@vrahane vrahane deleted the vipul/fix_log_idx_after_reboot branch March 21, 2024 22:56
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