This refactor is done for few reasons below
- to avoid deadlocks in scenarios when number
of nodes are smaller < actual erasure stripe
count where in N participating local lockers
can lead to deadlocks across systems.
- avoids expiry routines to run 1000 of separate
network operations and routes per disk where
as each of them are still accessing one single
local entity.
- it is ideal to have since globalLockServer
per instance.
- In a 32node deployment however, each server
group is still concentrated towards the
same set of lockers that partipicate during
the write/read phase, unlike previous minio/dsync
implementation - this potentially avoids send
32 requests instead we will still send at max
requests of unique nodes participating in a
write/read phase.
- reduces overall chattiness on smaller setups.
"${MINIO[@]}" server --address":9000" > "$WORK_DIR/pool-minio-9000.log" 2>&1&
"${MINIO[@]}" server --address":9001" > "$WORK_DIR/pool-minio-9001.log" 2>&1&
sleep 40
}
@ -75,9 +76,9 @@ function start_minio_pool_erasure_sets_ipv6()
{
exportMINIO_ACCESS_KEY=$ACCESS_KEY
exportMINIO_SECRET_KEY=$SECRET_KEY
"${MINIO[@]}" server --address="[::1]:9000""http://[::1]:9000${WORK_DIR}/pool-disk-sets{1...4}""http://[::1]:9001${WORK_DIR}/pool-disk-sets{5...8}" >"$WORK_DIR/pool-minio-ipv6-9000.log" 2>&1&
"${MINIO[@]}" server --address="[::1]:9001""http://[::1]:9000${WORK_DIR}/pool-disk-sets{1...4}""http://[::1]:9001${WORK_DIR}/pool-disk-sets{5...8}" >"$WORK_DIR/pool-minio-ipv6-9001.log" 2>&1&
"${MINIO[@]}" server --address="[::1]:9000"> "$WORK_DIR/pool-minio-ipv6-9000.log" 2>&1&
"${MINIO[@]}" server --address="[::1]:9001"> "$WORK_DIR/pool-minio-ipv6-9001.log" 2>&1&
sleep 40
}
@ -86,10 +87,10 @@ function start_minio_dist_erasure()
{
exportMINIO_ACCESS_KEY=$ACCESS_KEY
exportMINIO_SECRET_KEY=$SECRET_KEY
"${MINIO[@]}" server --address=:9000 "http://127.0.0.1:9000${WORK_DIR}/dist-disk1""http://127.0.0.1:9001${WORK_DIR}/dist-disk2""http://127.0.0.1:9002${WORK_DIR}/dist-disk3""http://127.0.0.1:9003${WORK_DIR}/dist-disk4" >"$WORK_DIR/dist-minio-9000.log" 2>&1&
"${MINIO[@]}" server --address=:9001 "http://127.0.0.1:9000${WORK_DIR}/dist-disk1""http://127.0.0.1:9001${WORK_DIR}/dist-disk2""http://127.0.0.1:9002${WORK_DIR}/dist-disk3""http://127.0.0.1:9003${WORK_DIR}/dist-disk4" >"$WORK_DIR/dist-minio-9001.log" 2>&1&
"${MINIO[@]}" server --address=:9002"http://127.0.0.1:9000${WORK_DIR}/dist-disk1""http://127.0.0.1:9001${WORK_DIR}/dist-disk2""http://127.0.0.1:9002${WORK_DIR}/dist-disk3""http://127.0.0.1:9003${WORK_DIR}/dist-disk4" >"$WORK_DIR/dist-minio-9002.log" 2>&1&
"${MINIO[@]}" server --address=:9003 "http://127.0.0.1:9000${WORK_DIR}/dist-disk1""http://127.0.0.1:9001${WORK_DIR}/dist-disk2""http://127.0.0.1:9002${WORK_DIR}/dist-disk3""http://127.0.0.1:9003${WORK_DIR}/dist-disk4" >"$WORK_DIR/dist-minio-9003.log" 2>&1&