[Gluster-devel] Trash translator for GlusterFS
Niels de Vos
ndevos at redhat.com
Mon Feb 17 09:12:50 UTC 2014
On Mon, Feb 17, 2014 at 03:57:29AM -0500, Jiffin Thottan wrote:
>
> 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.
Thanks Jiffin! That answers my questions :)
Niels
>
> 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" <ndevos at redhat.com>
> To: "Jiffin Thottan" <jthottan at redhat.com>
> Cc: gluster-devel at 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
>
--
Niels de Vos
Sr. Software Maintenance Engineer
Support Engineering Group
Red Hat Global Support Services
More information about the Gluster-devel
mailing list