How to stop Replication in swift

asked 2012-09-03 09:58:36 -0600

ankitm-r gravatar image

Hi all

I have installed swift 1.6.1 on ubuntu 12.04 LTS with swauth asa a authentication mechanism on single machine followed SAIO giude for installation

Whnever i upload data to swift it gets repliocated 3 times i.e default Is there any way to stop replication or make it just 1 time instead of 3 times.

What changes i have to make in my setup configuration files.

Regards, Ankit

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-09-05 04:12:34 -0600

ankitm-r gravatar image

Thanks Mike Barton, that solved my question.

edit flag offensive delete link more

answered 2012-09-03 10:29:20 -0600

redbo gravatar image

You can build a new ring with fewer replicas. When you build your swift ring, something like this:

swift-ring-builder object.builder create 18 [replica count] 1

Just set that replica count to 1 or however many replicas you want swift to use.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-09-03 09:58:36 -0600

Seen: 108 times

Last updated: Sep 05 '12