Re: [Openstack] [Swift] : Update Operation

2017-07-19 Thread John Dickinson
You cannot partially upload objects to Swift. You must upload the full object each time, and Swift treats the objects as discrete entities. In your example, the entirety of objectB will be written to disk and the bytes used by objectA will be freed. --John On 19 Jul 2017, at 10:25, Sai Vish

Re: [Openstack] [Swift] : Update Operation

2017-07-19 Thread John Dickinson
It depends on what you mean by "update", so let me describe the two things it could mean. Suppose you upload cat.jpg to your cluster: `curl -i -H "x-auth-token: foobar" https://awesome.swift.cluster.foobar/v1/AUTH_me/cats/bestcat.jpg -T cat1.jpg -XPUT` Now you've got bestcat.jpg in your clust

[Openstack] [Swift] : Update Operation

2017-07-19 Thread Sameer Kulkarni
Hi All, How does update operation work in Swift? Like, does it deletes the older object and creates new entry or It finds out which part of object is modified and just copies or pushes the modified object? Thank you ___ Mailing list: http://lists.open