Hi
We are using the network plugin in MogileFS and have set the replication to 1 for each Datacenter (network). So the replica count is 2. This works very well. When doing a rebalance from device X on datacenter 1 to device Y on datacenter 1 we see that the file is get from device X on datacenter 2 and thus goes over the link between the datacenter. Is this normal behavior?
What exactly happens in the background? Will the file first be
deleted on device X on datacenter 1 and thus temporary have only 1
copy or will the file first being replicated so that we temporary
have 3 copies of that file and deleted afterwards?
It's been a long time so grain of salt:
It's supposed to make an extra copy, then it lets the replication policy
kill off one of the original now excess ones afterward. Otherwise
rebalance wouldn't work on things with only one copy to begin with.
IIRC it never got smart enough to ensure it copied from a local datacenter
when possible.
On Mon, 18 May 2020, Arkadi Colson wrote:
>
> Hi
>
> We are using the network plugin in MogileFS and have set the replication to 1 for each Datacenter (network). So the replica count is 2. This works very
> well. When doing a rebalance from device X on datacenter 1 to device Y on datacenter 1 we see that the file is get from device X on datacenter 2 and thus
> goes over the link between the datacenter. Is this normal behavior?
>
> What exactly happens in the background? Will the file first be deleted on device X on datacenter 1 and thus temporary have only 1 copy or will the file
> first being replicated so that we temporary have 3 copies of that file and deleted afterwards?
>
> --
>
> Best regards
> Arkadi Colson
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "mogile" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mog...@googlegroups.com.