> On May 7, 2025, at 5:06 AM, Janne Johansson <icepic...@gmail.com> wrote:
> 
> Den ons 7 maj 2025 kl 10:59 skrev Torkil Svensgaard <tor...@drcmr.dk>:
>> We are looking at a cluster split between two DCs with the DCs as
>> failure domains.
>> 
>> Am I right in assuming that any recovery or backfill taking place should
>> largely happen inside each DC and not between them? Or can no such
>> assumptions be made?
>> Pools would be EC 4+8, if that matters.
> 
> Unless I am mistaken, the first/primary of each PG is the one "doing"
> the backfills, so if the primaries are evenly distributed between the
> sites, the source of all backfills would be in the remote DC in 50% of
> the cases.

Are we talking about recovery, or backfill?

> I do not think the backfills are going to calculate how it can use
> only "local" pieces to rebuild a missing/degraded PG piece without
> going over the DC-DC link even if it is theoretically possible.

The LRC plugin might be able to localize *recovery*, but backfill from adding 
OSDs, changing CRUSH rules, etc. would always have to hit both.

> 
> -- 
> May the most significant bit of your life be positive.
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to