Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Fix unclosed rocks iterators #1397

Merged
merged 5 commits into from
Jun 27, 2022
Merged

Fix unclosed rocks iterators #1397

merged 5 commits into from
Jun 27, 2022

Conversation

xandkar
Copy link
Contributor

@xandkar xandkar commented Jun 20, 2022

No description provided.

src/blockchain.erl Outdated Show resolved Hide resolved
Copy link
Contributor

@jeffgrunewald jeffgrunewald left a comment

Choose a reason for hiding this comment

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

Love the macro!

@xandkar xandkar force-pushed the sk/close-iterators branch from 7cd8b38 to 5d9aeb2 Compare June 21, 2022 19:04
src/blockchain_rocks.hrl Outdated Show resolved Hide resolved
@evanmcc
Copy link
Contributor

evanmcc commented Jun 24, 2022

suspect that the catch logging is going to be noisy, we might want to add a version of the macro that allows us not to log.

in any case, we want to log at warning, since error writes to the error log with fsync

@xandkar
Copy link
Contributor Author

xandkar commented Jun 27, 2022

suspect that the catch logging is going to be noisy, we might want to add a version of the macro that allows us not to log.

added the an app env var to disable the logging.

in any case, we want to log at warning

switched it to warning.

since error writes to the error log with fsync

TIL!

@Vagabond Vagabond merged commit 2418468 into master Jun 27, 2022
@Vagabond Vagabond deleted the sk/close-iterators branch June 27, 2022 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants