----- Original Message -----
> From: "Jiffin Thottan" <jthot...@redhat.com>
> To: "Niels de Vos" <nde...@redhat.com>
> Cc: gluster-devel@nongnu.org
> 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)

Pranith
> 
> As of now ,a common trash directory will be available from the mount
> point.But there are some issues regarding this implementation.
> 
> Regards,
> Jiffin
> 
> ----- Original Message -----
> From: "Niels de Vos" <nde...@redhat.com>
> To: "Jiffin Thottan" <jthot...@redhat.com>
> Cc: gluster-devel@nongnu.org
> Sent: Monday, February 17, 2014 1:56:33 PM
> Subject: Re: [Gluster-devel] Trash translator for GlusterFS
> 
> On Tue, Jan 21, 2014 at 03:53:05AM -0500, Jiffin Thottan wrote:
> > Hi all,
> > 
> > We are planning to implement a trash translator for GlusterFS and
> > high-level doc for the same is attached with this mail or can be reviewed
> > on
> > http://www.gluster.org/community/documentation/index.php/Features/Trash.
> > 
> > Please go through the doc and give out any valuable suggestions.
> 
> Could you include a practical example of deleting a file, the location
> where Trash keeps it and how the file can be found/restored?
> 
> How do you cover this scenario?
> 
>     $ echo 'Hello World!' > README
>     $ rm README
>     $ echo 'Hello Universe!' > README
>     $ rm README
> 
> Which file(s) will be located in the Trash?
> 
> Thanks,
> Niels
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
> 

_______________________________________________
Gluster-devel mailing list
Gluster-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gluster-devel

Reply via email to