Skip to content
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

Support copy_object for log based replication #7349

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

achouhan09
Copy link
Member

@achouhan09 achouhan09 commented Jun 16, 2023

Explain the changes

  1. Added support to copy_object for log based replication.

@achouhan09 achouhan09 marked this pull request as draft June 16, 2023 13:27
@achouhan09 achouhan09 force-pushed the log-repl branch 2 times, most recently from 7cd87fd to 750a48f Compare June 19, 2023 12:49
@achouhan09 achouhan09 force-pushed the log-repl branch 2 times, most recently from 811cfef to 9834745 Compare June 19, 2023 14:44
@achouhan09 achouhan09 marked this pull request as ready for review June 19, 2023 14:47
@achouhan09 achouhan09 force-pushed the log-repl branch 3 times, most recently from 3647f9c to d8f11cb Compare July 3, 2023 06:35
@achouhan09 achouhan09 force-pushed the log-repl branch 2 times, most recently from ee3325f to 7221560 Compare July 3, 2023 13:08
Copy link
Member

@tangledbytes tangledbytes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@@ -14,11 +14,11 @@ module.exports = {

methods: {

move_objects_by_type: {
copy_objects_by_type: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the copy_type is not a requirement anymore, I don’t see a reason to preserve the _by_type suffix.

Suggested change
copy_objects_by_type: {
copy_objects: {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dannyzaken Can you pls confirm on this, I am not sure of it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong opinion on that. Either way will work

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think for now we can keep it as same if in future we will be implementing other types of server side copy. Otherwise we can remove it @liranmauda wdyt its a very small change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should change the api itself, just it's name.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liranmauda Done, PTAL.

Signed-off-by: Aayush Chouhan <aayush.chouhan97@gmail.com>
@achouhan09 achouhan09 merged commit 3989bf5 into noobaa:master Jul 10, 2023
7 checks passed
@achouhan09 achouhan09 deleted the log-repl branch July 10, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants