Changelog logs GFID. Swift DBs need file path (acc/cont/obj format). Methods[1] to convert GFID to Path are not stable and also expensive. And there's no way to know which files were deleted even if we know GFID[2].
[1] https://github.com/gluster/glusterfs/blob/master/doc/debugging/gfid-to-path.md [2] http://review.gluster.org/8376 Regards, -Prashanth Pai ----- Original Message ----- From: "Vijay Bellur" <[email protected]> To: "Prashanth Pai" <[email protected]>, "Luis Pabon" <[email protected]> Cc: "[email protected] >> Gluster Devel" <[email protected]> Sent: Tuesday, February 24, 2015 12:41:07 PM Subject: Re: [Gluster-devel] Object Quota feature proposal for GlusterFS-3.7 On 02/24/2015 10:54 AM, Prashanth Pai wrote: > Hi Luis, > > Currently, even with storage policies, there is no mechanism to update the > container DBs with details of files created/modified/deleted over filesystem > interface. > Hence a GET on a container would list objects that may or may not exist on > disk. Also the metadata of container (bytes and object count) could be > outdated. > We need a mechanism to detect change in GlusterFS (have explored changelog > and inotify, both not feasible) and then lazily update Swift DBs so that the > container listing and metadata would eventually look right. > What were the problems encountered while trying to use changelog? Thanks, Vijay _______________________________________________ Gluster-devel mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-devel
