summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-mgmt.c
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2014-02-07 11:24:41 +0530
committerVijay Bellur <vbellur@redhat.com>2014-04-30 07:36:19 -0700
commit45d70cc74828b636c0d3c8e388f5b111e1a563ad (patch)
tree14456b46d9d7e9becba73e3d430c14da260d27a3 /xlators/mgmt/glusterd/src/glusterd-mgmt.c
parentd09b327a2796152eb80074169e17359394ae7cf8 (diff)
geo-rep: Consume Changelog History API
Every time when geo-rep restarts it first does FS crawl using XCrawl and then switches to Changelog Mode. This is because changelog only had live API, that is we can get changes only after registering. Now this(http://review.gluster.org/#/c/6930/) patch introduces History API for changelogs. If history is available then geo-rep will use it instead of FS Crawl. History API returns TS till what time history is available for given start and end time. If TS < endtime then switch to FS Crawl. (History => FS Crawl => Live Changelog) If TS >= endtime, then switch directly to Changelog mode (History => Live Changelog) Change-Id: I4922f62b9f899c40643bd35720e0c81c36b2f255 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/6938 Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-mgmt.c')
0 files changed, 0 insertions, 0 deletions