Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

acquire/release lock for each series when pruning #1062

Merged
merged 1 commit into from
Sep 24, 2018
Merged

Conversation

woodsaj
Copy link
Member

@woodsaj woodsaj commented Sep 23, 2018

To prevent the lock from being held for a really long time,
acquire a lock for each individual series to be deleted, rather then
for all series that are stale.

To prevent the lock from being held for a really long time,
acquire a lock for each individual series to be deleted, rather then
for all series that are stale.
Copy link
Contributor

@DanCech DanCech left a comment

Choose a reason for hiding this comment

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

LGTM

@Dieterbe
Copy link
Contributor

kindof amazing we never noticed this before. seems obvious in hindsight this would block our index way too long and hinder render requests.

@Dieterbe Dieterbe merged commit 8bbc022 into master Sep 24, 2018
@DanCech DanCech deleted the fixIdxPruning branch September 24, 2018 11:40
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.

None yet

3 participants