Skip to content

Conversation

@joshua-kim
Copy link
Contributor

Why this should be merged

As part of https://github.com/ava-labs/avalanchego/pull/3732/files, when replaying blocks to migrate state from the old db format to firewood we need to replay atomic txs. Atomic txs cannot be replayed however, because duplicate writes to atomic memory are not permitted. One way to get around this is to allow reads from atomic memory while replaying the transactions.

How this works

Drops writes to shared memory.

How this was tested

Tested through linked PR

Need to be documented in RELEASES.md?

No

Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants