localhost_12001, localhost_12002, localhost_12003
localhost_12001
is designated as the master and localhost_12002 and localhost_12003
are the slaves./tmp/localhost_12001/filestore
and it gets replicated to other folders.localhost_12002
is promoted to master.localhost_12003
stops replicating from localhost_12001
and starts replicating from new master localhost_12002
localhost_12002
are replicated to localhost_12003
localhost_12002
is the master and localhost_12003
is the slave. Manually create files under /tmp/localhost_12002/filestore
and see that appears in /tmp/localhost_12003/filestore
git clone https://git-wip-us.apache.org/repos/asf/helix.git cd recipes/rsync-replicated-file-system/ mvn clean install package -DskipTests cd target/rsync-replicated-file-system-pkg/bin ./quickdemo
See rsync_replicated_file_store for more information