[Openstack] [Swift] Delete handling with md5 collisions
shrinand at maginatics.com
Wed Aug 26 20:37:11 UTC 2015
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
Now, if I delete object t1, Swift will created a new file called t3.ts
and put it in the hash directory.
When the replicator runs, it will delete all files with timestamp less
than t3. So will it delete both t1 and t2?
Thanks in advance.
More information about the Openstack