[Gluster-devel] HTIME API

Venky Shankar vshankar at redhat.com
Wed Oct 29 12:53:40 UTC 2014


Hey Ajeet,

Since changelog translator maintains a meta file (HTIME) containing a list of consumable changelogs, we could leverage this to provide an API invokable by libgfchangelog (once the interaction is RPC based) to get a list of changelogs for a given time period (similar to what history API does today).

The benefit that this provides is that the consumers[1] need not maintain state (the API takes care of that) of the amount of changelogs [to be] processed and make use of this API to get freshly consumable changelogs.

Thoughts?

[1]: esp for lowlevel API (http://gluster.org/community/documentation/index.php/Features/Gnotify)

    Venky


More information about the Gluster-devel mailing list