[Feature]: Persist imported Mission Control Data across restarts #8898
[Feature]: Persist imported Mission Control Data across restarts #8898mohamedawnallah wants to merge 3 commits intolightningnetwork:masterfrom
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 <mohamedmohey2352@gmail.com>
4aa1046 to
57de4c3
Compare
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
57de4c3 to
65d79d8
Compare
ziggie1984
left a comment
There was a problem hiding this comment.
First Pass done, left some comments.
| imported := m.state.importSnapshot(history, force) | ||
|
|
||
| if persistMC { | ||
| err := m.store.persistMCData(history) |
There was a problem hiding this comment.
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.