gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Trash translator for GlusterFS


From: Pranith Kumar Karampuri
Subject: Re: [Gluster-devel] Trash translator for GlusterFS
Date: Mon, 17 Feb 2014 04:21:44 -0500 (EST)


----- 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)

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" <address@hidden>
> To: "Jiffin Thottan" <address@hidden>
> Cc: address@hidden
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]