-
Notifications
You must be signed in to change notification settings - Fork 656
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
Make FUNCTION RESTORE FLUSH flush async based on lazyfree-lazy-user-flush #1254
Make FUNCTION RESTORE FLUSH flush async based on lazyfree-lazy-user-flush #1254
Conversation
…lush FUNCTION RESTORE have a FLUSH option, it will delete all the existing libraries before restoring the payload. If for some reasons, there are a lot of libraries, we will block a while in here. Signed-off-by: Binbin <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #1254 +/- ##
============================================
+ Coverage 70.68% 70.69% +0.01%
============================================
Files 115 115
Lines 63177 63175 -2
============================================
+ Hits 44657 44664 +7
+ Misses 18520 18511 -9
|
Signed-off-by: Binbin <[email protected]>
This doesn't look like a major change, i am going to merge it. @zuiderkwast do you want to take a quick look before i merge it? |
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.
Good idea! Just a comment about the structure of functions.
Signed-off-by: Binbin <[email protected]>
…e_async Signed-off-by: Binbin <[email protected]>
Signed-off-by: Binbin <[email protected]>
Signed-off-by: Binbin <[email protected]>
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.
Yes, this is better structure. I hope you agree. 😄
FUNCTION RESTORE have a FLUSH option, it will delete all the existing
libraries before restoring the payload. If for some reasons, there are
a lot of libraries, we will block a while in here.
Adding a new functionsLibCtxFreeGeneric, it accepts a async parameter
to determine how to free the function ctx.