how to check replicator work complete

Asked by Ray Yen

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?

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bellantuono Daniel (kelfen) said :
#1

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

Can you help with this problem?

Provide an answer of your own, or ask Ray Yen for more information if necessary.

To post a message you must log in.