how to check replicator work complete

asked 2013-10-21 09:14:27 -0600

grsyen gravatar image

I add some new nodes and rebalance the ring. Dose any API or command to know the replicator work complete? Which time i can rebalance the ring again?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-29 10:36:14 -0600

kelfen gravatar image

You can view the replication status from the log. For example:

cat /var/log/syslog | grep object-replicator Oct 29 06:35:50 swift object-replicator 3/3 (100.00%) partitions replicated in 0.01s (292.48/sec, 0s remaining)

The rebalance can be performed every hour by default, but you can change this parameter when you create a ring: swift-ring-builder object.builder create 16 3 1 1: min-part-hours - the minimum time before a partition can be moved again

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-10-21 09:14:27 -0600

Seen: 166 times

Last updated: Oct 29 '13