[Gluster-devel] HTIME API

Kotresh Hiremath Ravishankar khiremat at redhat.com
Fri Oct 31 05:40:23 UTC 2014

Hi Venky,

If I understand correctly, the idea is to provide RPC based history API?
If yes, how can that solve the different clients/consumers having to maintain
state of how much it has processed?

Thanks and Regards,
Kotresh H R

----- Original Message -----
From: "Venky Shankar" <vshankar at redhat.com>
To: "Ajeet Jha" <ajha at redhat.com>
Cc: "Kotresh Hiremath Ravishankar" <khiremat at redhat.com>, gluster-devel at gluster.org
Sent: Wednesday, October 29, 2014 6:23:40 PM
Subject: HTIME API

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.


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


More information about the Gluster-devel mailing list