-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Resumable plugins rebased #710
Conversation
Recording a couple of potential action items:
|
I can't think of an easy way to do that. Is there any harm in always uploading to the ark server log too?
We can bring it back |
Re: backup service, interested in opinions on the last commit that I just pushed as an approach that allows us not to have the backup service and also doesn't require a bunch of interface/struct definitions for testing purposes. I am a fan of it. cc @nrb, appreciate input when you get a chance. if you're ok with it i'll do the same for the other functions. |
@ncdc re: logs, I was just concerned about the server logs getting super-verbose. Couldn't we just copy the contents of the log temp file into the server log if/only if the call to upload it to obj storage fails? |
I guess it's worth a try |
Or you could revert that part of the PR |
eh, i'm gonna leave the logs as-is. we can always change if it's an issue down the road. |
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.
Generally +1 on the approach. For the rebase, I'd suggest at least keeping the message from the first commit.
A question - does this require any changes to the https://github.com/heptio/ark-plugin-example/ repo for 3rd party contributors?
Yes, and we should start tagging and/or releasing versions of the example repo to match tagged/released versions of ark (and master=master) |
@skriss Specifically addressing the |
f5c18d3
to
9833412
Compare
@nrb did the rest of the refactoring work, commit per type. at this point I think i'm ready to merge (once I squash everything down) |
9833412
to
5802afe
Compare
The refactored work LGTM. Looks like the rebase work isn't terrible, either. |
Testing looked good to me. The plugin process restarted and I never saw more than one. |
Refactor plugin management: - support multiple plugins per executable - support restarting a plugin process in the event it terminates - simplify plugin lifecycle management by using separate managers for each scope (server vs backup vs restore) Signed-off-by: Andy Goldstein <[email protected]>
1f36ed4
to
1305121
Compare
squashed and ready to merge. |
This is a rebase & some cleanup to #495. Will squash commits down before merge.
I'd like to do some more manual testing before merge, but my main feedback points have been addressed and we need to get this in now-ish, so any further issues that come up can be addressed in subsequent PRs.
FYI @nrb @carlisia. Don't expect full reviews since it's a lot of code.