Failover principle of Swift
Hi,
During my test i came across following behaviour:
My environment consists of 1 proxy node and 6 storage nodes (account/container/object). I close three nodes and tried to make some gets to certain objects. I have discovered that swift proxy tried to reach the nodes which are closed thus receiving connection timeouts. I guess i did not configure my ring properly against failover. What am i missing in my configuration? You can see my configuration below:
ring configuration with partition power 18 replication 3
account-server.conf
[DEFAULT] bind_ip = 0.0.0.0 workers = 8
[pipeline:main] pipeline = account-server
[app:account-server] use = egg:swift#account
[account-replicator] run_pause=900
[account-auditor]
[account-reaper]
container-server.conf
[DEFAULT] bind_ip = 0.0.0.0 workers = 8
[pipeline:main] pipeline = container-server
[app:container-server] use = egg:swift#container
[container-replicator] run_pause=900
[container-updater]
[container-auditor]
object-server.conf
[DEFAULT] bind_ip = 0.0.0.0 workers = 8
[pipeline:main] pipeline = object-server
[app:object-server] use = egg:swift#object
[object-replicator] run_pause=900 ring_check_interval=900
[object-updater]
[object-auditor]