← Back to team overview

openstack team mailing list archive

Re: Re-balancing of RING does not level up my objects in old devices

 

Am Montag, den 08.07.2013, 13:03 +0200 schrieb "Vengurlekar, Tushar V (USD-SWD)" <tushar.vengurlekar@xxxxxx>:
Is there any Swift command to know if replication task is completed
after rebalance?
After ring rebalance (adding new device to the ring), the replicator
moves data around to fit new map.
So how can I check the graceful completion of this task?

Have a look at swift-recon: http://docs.openstack.org/developer/swift/admin_guide.html#cluster-telemetry-and-monitoring

This will give you some hints about the last replication tasks:

# swift-recon -r
===============================================================================
--> Starting reconnaissance on 5 hosts
===============================================================================
[2013-07-08 13:19:01] Checking on replication
[replication_time] low: 0, high: 1, avg: 1.3, total: 6, Failed: 0.0%, no_result: 0, reported: 5 Oldest completion was 2013-07-08 10:30:14 (48 minutes ago) by 192.168.1.5:6000. Most recent completion was 2013-07-08 11:16:37 (2 minutes ago) by 192.168.1.3:6000.
===============================================================================



References