[Gluster-devel] snapshot restore and USS
Vijay Bellur
vbellur at redhat.com
Wed Dec 3 19:06:57 UTC 2014
On 12/01/2014 05:36 PM, Raghavendra Bhat wrote:
> What we can do is, while sending lookup on .snaps (again, say "ls
> /dir/.snaps") within the dict add a key, which snapview-server can look
> for. That key is kinda hint from snapview-client to the snapview-server
> that the parent gfid of this particular lookup call exists and valid
> one. When snapview-server gets lookup as part of resolution from
> protocol/server on the parent gfid, it can look at the dict for the key.
> If the key is set, then simply return success to that lookup.
>
> With the above way we can handle many situations such as this:
> Entering .snaps from a directory which is created after taking the
> latest snapshot.
>
> Please provide feedback on the above approach (the hint being set in the
> dict).
Looks good to me.
Regards,
Vijay
More information about the Gluster-devel
mailing list