-
Notifications
You must be signed in to change notification settings - Fork 86
Add Single Active Replication Proposal #256
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
Conversation
|
@bupd Thanks for the proposal, I think this is a valid scenario and the design in UX makes sense to me. However, in this design, it lacks the details in terms of how to implement it in the backend. I think more details are needed like:
|
reasonerjt
left a comment
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.
This is a valid feature enhancement but this design needs more details.
No, we are checking the currently running replications from DB and that does not require locks.
Invalid since there are no locks present.
The above are Invalid, Since there is no lock happening on DB, core or jobservice. we are just checking the current replication executions and check if the previous replication executions are completed before starting a new one. Thanks @reasonerjt I will update proposal. clearly stating that no locks/unlocks are involved. |
I don't quite understand how you can identify the ongoing replicated artifacts, by simply checking the DB. Could you add more details? I'll also double check the code to refresh my memory about details replication |
There was a mistake in wording its policy and not artifact. This feature is more into not running the replications on the same policy when a replication execution is already running. |
|
Overall, I think the proposal needs to be updated to reflect the actual problem and specific scenario it solves. Additionally, @bupd IMO the |
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.
I believe all concerns have been addressed, and the PR proposal is now ready for merge.
Since we're nearing the 2.14 release, I suggest we avoid further nitpicks unless they're critical.
I would love to see this feature make it into 2.14.
Thank you all for your time and support!
|
Thank you @bupd This is not a nitpick, this is not OK when you say "a new replication job is created", but you mean "a record will be inserted to execution table". They are different objects per my understanding. It can confuse the reader and make him think a job will be created in jobservice, but in your case this is not what you are gonna do. |
Signed-off-by: bupd <[email protected]> Update wording Signed-off-by: Prasanth Baskar <[email protected]> update & add more technical details Signed-off-by: Prasanth Baskar <[email protected]> update wording Signed-off-by: Prasanth Baskar <[email protected]> add out of scope Signed-off-by: Prasanth Baskar <[email protected]> improve wording in proposal Signed-off-by: Prasanth Baskar <[email protected]> fix: wording Signed-off-by: Prasanth Baskar <[email protected]> Update single-active-replication.md Signed-off-by: Prasanth Baskar <[email protected]>
Proposal for Single Active Replication feature.
Discussion & PR: goharbor/harbor#21347