Skip to content

Conversation

@miladev95
Copy link

  • What changed:
    Replaced the if-else chain handling record.Type with a switch in db.go (loadIndexFromWAL).

  • Why:
    Improves readability and maintainability and addresses gocritic ifElseChain lint.

  • Behaviour:
    No functional change; logic preserved (batch finish handling, merged records, expiry checks).

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.

1 participant