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

Restrict WAL usage to node.go (backport #4201) #4267

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 7, 2023

This is an automatic backport of pull request #4201 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

* Revert "synchronize access to wal storage from chain and node (#3919)"

This reverts commit 2678417.

Signed-off-by: Yacov Manevich <[email protected]>

* Restrict WAL usage to node.go

This commit moves the WAL sync from the goroutine of the chain,
to the goroutine that performs all the rest of the WAL operations,
in order to prevent concurrent invocation of the WAL which is not thread safe.

Signed-off-by: Yacov Manevich <[email protected]>

---------

Signed-off-by: Yacov Manevich <[email protected]>
(cherry picked from commit bc1b51f)
@mergify mergify bot requested a review from a team as a code owner June 7, 2023 15:11
@mergify mergify bot mentioned this pull request Jun 7, 2023
@denyeart denyeart merged commit dc889d9 into release-2.5 Jun 7, 2023
23 checks passed
@mergify mergify bot deleted the mergify/bp/release-2.5/pr-4201 branch June 7, 2023 18:25
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.

None yet

2 participants