Add Single Active Replication Proposal#256
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.
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.
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 <bupdprasanth@gmail.com> Update wording Signed-off-by: Prasanth Baskar <89722848+bupd@users.noreply.github.com> update & add more technical details Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com> update wording Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com> add out of scope Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com> improve wording in proposal Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com> fix: wording Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com> Update single-active-replication.md Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com>
Proposal for Single Active Replication feature.
Discussion & PR: goharbor/harbor#21347