1 NOTE: it's quite likely you don't need to know any of this. but since
4 NOTE: there is currently no way to change a class's replication policy,
5 except modifying the database, like so:
8 SET replpolicy='Union(MultipleHosts(3), OnDevice(13))'
9 WHERE dmid=3 AND classid=1;
11 Yes, we know this is sub-optimal. A mogadm command should be
14 About replication policies strings:
16 -- if you don't have a colon in a policy, "MogileFS::ReplicationPolicy::"
17 is prepended to the class name
19 -- if a class doesn't have a replpolicy value, the historical default
20 is used: "MultipleHosts()". see MogileFS::ReplicationPolicy::MultipleHosts
23 -- a replication policy of "MultipleHosts()" uses the class's "mindevcount"
24 column. but an explicit value, like "MultipleHosts(3)" will ignore the
25 configured "mindevcount"