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

rbd: prevent adding multiple mirror peers to a single pool #13919

Merged
merged 1 commit into from Mar 13, 2017

Conversation

dillaman
Copy link

The rbd-mirror daemon does not currently support replication
from multiple peers. Until that is supported, add a temporary
restriction to prevent confusion.

Fixes: http://tracker.ceph.com/issues/19256
Signed-off-by: Jason Dillaman dillaman@redhat.com

@@ -681,7 +681,6 @@ int Mirror<I>::peer_add(librados::IoCtx& io_ctx, std::string *uuid,
return -EINVAL;
}

int r;
Copy link
Contributor

Choose a reason for hiding this comment

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

@dillaman see jenkins build error

@dillaman dillaman changed the title librbd: prevent adding multiple mirror peers to a single pool rbd: prevent adding multiple mirror peers to a single pool Mar 12, 2017
The rbd-mirror daemon does not currently support replication
from multiple peers. Until that is supported, add a temporary
restriction to prevent confusion.

Fixes: http://tracker.ceph.com/issues/19256
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@yangdongsheng
Copy link
Contributor

Looks Good

Copy link
Contributor

@trociny trociny left a comment

Choose a reason for hiding this comment

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

lgtm

@trociny trociny merged commit 0e7027f into ceph:master Mar 13, 2017
@dillaman dillaman deleted the wip-19256 branch March 14, 2017 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants