Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix in-memory metadata stomping bug #637

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Conversation

samholmes
Copy link
Contributor

@samholmes samholmes commented Feb 12, 2025

We only need to setup a new metadata file in memory for the transaction
if there doesn't already exists a file for the transaction. We only need
to do this so that the state is present for other places in the core
which depend on this state being present and deal with transaction
state.

In a future refactor, we can remove the setup entirely so long as we
remove the dependency on this state always being present for
transactions.

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

We only need to setup a new metadata file in memory for the transaction
if there doesn't already exists a file for the transaction. We only need
to do this so that the state is present for other places in the core
which depend on this state being present and deal with transaction
state.

In a future refactor, we can remove the setup entirely so long as we
remove the dependency on this state always being present for
transactions.
@samholmes samholmes merged commit 9d831ff into master Feb 12, 2025
2 checks passed
@samholmes samholmes deleted the sam/setup-metadata-bug branch February 12, 2025 22:53
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants