From: "Chetan Risbud" <address@hidden>
To: "Pranith Kumar Karampuri" <address@hidden>
Cc: "Jiffin Thottan" <address@hidden>, address@hidden
Sent: Monday, February 17, 2014 3:00:07 PM
Subject: Re: [Gluster-devel] Trash translator for GlusterFS
----- Original Message -----
From: "Pranith Kumar Karampuri" <address@hidden>
To: "Jiffin Thottan" <address@hidden>
Cc: address@hidden
Sent: Monday, February 17, 2014 2:51:44 PM
Subject: Re: [Gluster-devel] Trash translator for GlusterFS
----- Original Message -----
From: "Jiffin Thottan" <address@hidden>
To: "Niels de Vos" <address@hidden>
Cc: address@hidden
Sent: Monday, February 17, 2014 2:27:29 PM
Subject: Re: [Gluster-devel] Trash translator for GlusterFS
Hi Niels,
The deleted files are moved to trash directory by appending timestamp to
file
name.So there is no chance of name collisions.The trash directory will be
present in every brick.
In the given scenario,both README files are shown separately in trash
directory with different timestamps.
What if two files are created, deleted with in a second? What if the file is
already 254 characters? (maximum file name length is 255 I think)
A HASH of the 'metadata' of the original file appended to the name of
the file to be deleted would help differentiate ?