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

Added additional check for lazy Postings. #627

Merged
merged 1 commit into from
Dec 12, 2018
Merged

Added additional check for lazy Postings. #627

merged 1 commit into from
Dec 12, 2018

Conversation

bwplotka
Copy link
Member

Debugging #335.

Potentially broken preloadPosting is missing some postings, because
of bad partitioning. Unit tests are there, but we might not get all edge cases?

If with this check we will have still panic - it can only mean races.
However, -race is not showing anything interesting on, even extended tests.

Would be nice to build testing tag with this and allow users to deploy it and test on setups that can repro store gateway panics.

PTAL @adrien-f
Signed-off-by: Bartek Plotka [email protected]

@bwplotka
Copy link
Member Author

The general idea is to merge this for more information in error cases, so PTAL (:

@adrien-f
Copy link
Member

adrien-f commented Dec 3, 2018

So what I found out is that I stopped having those issues once I scaled the VMs running the store instance. This could indeed point to a race condition somewhere where CPU/Memory and IO would be saturated. I have kept a store instance with low resources to repro this issue even with your changes. I'll post the logs later.

@bwplotka
Copy link
Member Author

bwplotka commented Dec 3, 2018

Thanks!

@bwplotka
Copy link
Member Author

@adrien-f Any progress? (:

Debugging #335.

Potentially broken preloadPosting is missing some postings, because
of bad partitioning. Unit tests are there, but we might not get all edge cases?

If with this check we will have still panic - it can only mean races.
However, -race is not showing anything interesting on, even extended tests.

Signed-off-by: Bartek Plotka <[email protected]>
Copy link
Contributor

@domgreen domgreen left a comment

Choose a reason for hiding this comment

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

Hopefully will get some more data 👍

@bwplotka bwplotka merged commit fce2f6e into master Dec 12, 2018
@bwplotka bwplotka deleted the store-profile branch December 12, 2018 12:56
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.

3 participants