[Openstack] Regarding replicator behavior with single replica

Zhou, Yuan yuan.zhou at intel.com
Fri Sep 13 02:06:37 UTC 2013


Not that I know of..

The object location(including handoff) is provided by swift-get-nodes:

$ swift-get-nodes -a /etc/swift/object.ring.gz a c o

Did you observed which object is moving and its moving path? was it moving from handoff to primary?

BR, 
-Yuan

-----Original Message-----
From: Vengurlekar, Tushar V (USD-SWD) [mailto:tushar.vengurlekar at hp.com] 
Sent: Friday, September 13, 2013 1:02 AM
To: Zhou, Yuan; openstack at lists.openstack.org
Subject: RE: Regarding replicator behavior with single replica

Hi Yuan,

All my devices are up. Will replicator try to move object even though I have single replica?

Thanks,
Tushar

-----Original Message-----
From: Zhou, Yuan [mailto:yuan.zhou at intel.com] 
Sent: Thursday, September 12, 2013 8:54 AM
To: Vengurlekar, Tushar V (USD-SWD); openstack at lists.openstack.org
Subject: RE: Regarding replicator behavior with single replica

Hi Tushar,

One possible reason is that one of your devices is unavailable when you're uploading ? 
This makes some of objects are uploaded to handoff devices actually and obj-replicator will try to move them back to primary devices.

Regards, 
-Yuan


-----Original Message-----
From: Vengurlekar, Tushar V (USD-SWD) [mailto:tushar.vengurlekar at hp.com] 
Sent: Wednesday, September 11, 2013 8:02 PM
To: openstack at lists.openstack.org
Subject: [Openstack] Regarding replicator behavior with single replica

Hello everyone,

I was trying a Swift setup having single replica configured with 4 devices added to the ring with different IP addresses.
Later (after all replication/rebalance completed) I uploaded many objects in a multiple containers.
I observe the data movement across these devices through rsync replicator daemon.

I understand that the object rebalance (using rsync) should happen only when we add devices or change weight value in ring (and if multiple replicas configured). 
So what is a reason that it performs data movement (of newly uploaded objects) without any ring changes and single replica?

Thanks in advance,
Tushar


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list