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

Feat/slow log #259

Merged
merged 3 commits into from
Sep 19, 2023
Merged

Feat/slow log #259

merged 3 commits into from
Sep 19, 2023

Conversation

rompetroll
Copy link
Contributor

wraps a badger txn in dataset.GrabWatermarks with a slowLog instrumentation.

The instrumentation can be applied other places as well, but in GrabWatermarks we know that reverse badger iterators are used which are potential bad performers.

The slow log threshold is configurable with 1s default

@gra-moore gra-moore merged commit 56d3903 into master Sep 19, 2023
3 checks passed
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