Skip to content

fix: Ensure write metadata lock is released#9

Merged
huggingbot merged 1 commit intomasterfrom
fix/release-lock
May 7, 2024
Merged

fix: Ensure write metadata lock is released#9
huggingbot merged 1 commit intomasterfrom
fix/release-lock

Conversation

@huggingbot
Copy link
Member

Description

  • Current syncLocalMetadataTransitions doesn't release the write metadata lock if an error were to occur.
  • Adding a finally block will ensure the lock will always be released

@huggingbot huggingbot requested a review from metalurgical May 3, 2024 08:43
Copy link

@ieow ieow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
can you open another pr in tkey/tkey

@huggingbot huggingbot merged commit a9b4f10 into master May 7, 2024
@huggingbot huggingbot deleted the fix/release-lock branch May 7, 2024 05:27
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.

3 participants