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:36:25 -0500 (EST)


----- Original Message -----
> 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 ?

It still does not help in file-names of length 254.

Pranith
> 
> 
> 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
> > 
> 
> _______________________________________________
> 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]