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
Change how BlockDevMgr::last_update_time is initialized #1548
Change how BlockDevMgr::last_update_time is initialized #1548
Conversation
Test with Jenkins? |
1 similar comment
Test with Jenkins? |
ok to test |
@GuillaumeGomez Thanks for the PR! You'll note that in This is more-or-less necessarily correct, because when the block devices belonging to the blockdevmgr are first claimed by stratisd, the actual value of the variable length metadata is not yet known. This metadata contains information about all sorts of higher-level devices that haven't yet been constructed. However, at some later time, stratisd may come up again, and see devices that have already been initialized, and construct a blockdevmgr to manage them. Currently, it, incorrectly, constructs the blockdevmgr with a I think that the area where the crucial mistake is made is really where I would encourage you to look at the method I'm afraid that the solution is less localized than I thought, but I think that that is the right place to start. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see comment.
I'll take a look. |
Test with Jenkins? |
Superceded by #1590. |
Fixes #1509.
@mulkieran: Is it how you had it in mind?