1MogileFS::ReplicationPoUlsiecry:C:oMnutlrtiibMpuoltgeeiHdloesPFteSsr:(l:3R)DeopcluimceanttiaotniPoonlicy::MultipleHosts(3)
2
3
4

NAME

6       MogileFS::ReplicationPolicy::MultipleHosts -- default replication
7       policy
8

RULES

10       This policy tries to put files onto devices which are on different
11       hosts.  If you only have 1 host and 2 devices on that one host, it
12       obviously can't, so it'll grudgingly put it on the same host.  But if
13       you request a minimum replica count of 2 and have 3 devices, it'll put
14       2 copies on different hosts.  If you have 4 devices on 2 hosts, and
15       request a minima replica count of 3, you'll get 3 copies on different
16       devices, but two of those devices will be on the same host, and that's
17       considered acceptable, since you have "multiple hosts" covered at
18       least.
19

SEE ALSO

21       MogileFS::Worker::Replicate
22
23       MogileFS::ReplicationPolicy
24
25
26
27perl v5.30.0                     M2o0g1i9l-e0F7S-:2:6ReplicationPolicy::MultipleHosts(3)
Impressum