-
Notifications
You must be signed in to change notification settings - Fork 0
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
Try to produce a bad behavior related to setting up frequently stopped pools with over ten devices #714
Comments
Can you elaborate here on why you're confident there's a bug with this? Is it related to code that you saw? |
The requirements for the bug are:
Then, what should cause the bug, with some degree of probability:
So far we haven't been able to produce this, using the easily checked filesystem limit as a canary and twenty test devices. |
Can you point to the code that you found that makes you believe this bug exists? |
https://github.com/stratis-storage/stratisd/blob/master/src/engine/strat_engine/liminal/setup.rs#L42 If, at this point, the BDAs are stale wrt. last update time, then the device selected to read the pool-level metadata may possibly contain stale metadata. |
Ah, I think I understand. This is related to the fact that we cached the BDA but didn't update it if it was changed, is that correct? And we've since corrected this problem in more recent versions? |
No description provided.
The text was updated successfully, but these errors were encountered: