-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[Feature]: Persist imported Mission Control Data across restarts #8898
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
base: master
Are you sure you want to change the base?
[Feature]: Persist imported Mission Control Data across restarts #8898
Conversation
Important Review skippedAuto reviews are limited to specific labels. Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Signed-off-by: Mohamed Awnallah <[email protected]>
4aa1046
to
57de4c3
Compare
Signed-off-by: Mohamed Awnallah <[email protected]>
Signed-off-by: Mohamed Awnallah <[email protected]>
57de4c3
to
65d79d8
Compare
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.
First Pass done, left some comments.
@@ -378,6 +402,13 @@ func (m *MissionControl) ImportHistory(history *MissionControlSnapshot, | |||
|
|||
imported := m.state.importSnapshot(history, force) | |||
|
|||
if persistMC { | |||
err := m.store.persistMCData(history) |
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.
so it will first import the new data, and then flush the updated set to disk ?
hey @mohamedawnallah , take a look at my PR here which adds namespaces to the mission control store Perhaps this PR can be adapted to build on that one since it looks like you are wanting to persist the Pairs from |
@mohamedawnallah - note that #9001 has been merged (see previous comment about what that means for the next steps in this PR) |
@ellemouton I'll try to review the next steps for this PR by the end of next week, as I've been currently busy with my intern deliverables. Thanks! 🙏 |
I have started working on that PR. Currently, I'm investigating the |
@ziggie1984: review reminder |
Change Description
Closes #8849
Pull Request Checklist
Testing
Code Style and Documentation
[skip ci]
in the commit message for small changes.📝 Please see our Contribution Guidelines for further guidance.