Re: [Openstack] [Swift] Delete handling with md5 collisions

2015-08-27 Thread Shrinand Javadekar
M > To: openstack@lists.openstack.org > Subject: [Openstack] [Swift] Delete handling with md5 collisions > > Hi, > > I have a question about how object deletes are handled with md5 collisions. I > looked at the code and here's my understanding of how things will work. > &

Re: [Openstack] [Swift] Delete handling with md5 collisions

2015-08-26 Thread Chow, Anthony T (Anthony)** CTR **
: Wednesday, August 26, 2015 1:37 PM To: openstack@lists.openstack.org Subject: [Openstack] [Swift] Delete handling with md5 collisions Hi, I have a question about how object deletes are handled with md5 collisions. I looked at the code and here's my understanding of how things will work. If I hav

Re: [Openstack] [Swift] Delete handling with md5 collisions

2015-08-26 Thread Shrinand Javadekar
Actually, I'm confused now. I used to think that Swift does HTTP deletes by synchronously truncating the object file and renaming it with a .ts extension. But the currently code simply creates a new file with the request timestamp and .ts extension. On Wed, Aug 26, 2015 at 1:37 PM, Shrinand Javade

Re: [Openstack] [Swift] Delete handling with md5 collisions

2015-08-26 Thread Samuel Merritt
On 8/26/15 1:37 PM, Shrinand Javadekar wrote: Hi, I have a question about how object deletes are handled with md5 collisions. I looked at the code and here's my understanding of how things will work. If I have two objects that have the same md5 hash, they will go to the same hash directory. Say

[Openstack] [Swift] Delete handling with md5 collisions

2015-08-26 Thread Shrinand Javadekar
Hi, I have a question about how object deletes are handled with md5 collisions. I looked at the code and here's my understanding of how things will work. If I have two objects that have the same md5 hash, they will go to the same hash directory. Say, they go to /srv/node/r1/object/1024/eef/deadbe