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

fix(metadata): change RecordingMetadataManager startup process #1090

Merged
merged 4 commits into from
Oct 4, 2022

Conversation

maxcao13
Copy link
Member

Fixes #1085

@maxcao13 maxcao13 added the fix label Sep 30, 2022
@maxcao13 maxcao13 marked this pull request as ready for review September 30, 2022 22:43
@andrewazores
Copy link
Member

Nice, pretty compact change but this already ensures that migration doesn't happen until after discovery startup is completed, and also should push the migration work off onto a verticle worker thread.

Do you intend to also implement the lazy evaluation stuff we talked about previously or do you think this change is already sufficient?

@maxcao13 maxcao13 force-pushed the delayed-metadata-validation branch 2 times, most recently from 2cfbe00 to 7019c05 Compare October 3, 2022 22:36
@maxcao13
Copy link
Member Author

maxcao13 commented Oct 3, 2022

Nice, pretty compact change but this already ensures that migration doesn't happen until after discovery startup is completed, and also should push the migration work off onto a verticle worker thread.

Do you intend to also implement the lazy evaluation stuff we talked about previously or do you think this change is already sufficient?

I think it's sufficient enough. As it is right now, I think the notifications that come in which the Manager hooks into already sort of allows it to do lazy evaluation along with the eager startup metadata pruning, so in fact maybe there is no need to do startup pruning at all but I guess it doesn't hurt to have redundancy in case notifications aren't seen correctly somehow.

@andrewazores andrewazores merged commit 0ccd8ae into cryostatio:main Oct 4, 2022
@maxcao13 maxcao13 deleted the delayed-metadata-validation branch October 5, 2022 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Allow MetadataManager to start metadata validation without relying on DiscoveryStorage
2 participants