On Mon, Jun 23, 2014 at 4:54 AM, Christian Eichelmann
<christian.eichelm...@1und1.de> wrote:
> Hi ceph users,
>
> since our cluster had a few inconsistent pgs in the last time, i was
> wondering what ceph pg repair does, depending on the replication level.
> So I just wanted to check if my assumptions are correct:
>
> Replication 2x
> Since the cluster can not decide which version is correct one, it would
> just copy the primary copy (the active one) over the secondary copy.
> Which is a 50/50 chance to get the correct version.
>
> Replication 3x or more
> Now the cluster has a quorum and a ceph pg repair will replace the
> corrupt replica with one of the correct one. No manual intervention needed.

Well, actually it always takes the primary copy, unless the primary
has some way of locally telling that its version is corrupt. (This
might happen if the primary thinks it should have an object, but it
doesn't exist on disk.) But there's not a voting or anything at this
time.
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to