[Gluster-devel] Trash translator for GlusterFS
jthottan at redhat.com
Mon Feb 17 08:57:29 UTC 2014
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.
As of now ,a common trash directory will be available from the mount point.But there are some issues regarding this implementation.
----- 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
> 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?
More information about the Gluster-devel