path: root/xlators/lib/src/libxlator.h
diff options
authorAvra Sengupta <>2013-04-27 12:44:05 +0530
committerVijay Bellur <>2013-07-14 21:06:42 -0700
commit74f67e3a86a1dc5324cd41d4fab78858718db1d2 (patch)
treece0ad09d511f3654937411002ce0c15b42cab8d6 /xlators/lib/src/libxlator.h
parent61b09562b934b53dadcd566f6feb72301097933c (diff)
cluster/*: get logic to calculate min() of the 'stime' xattr
* in both distribute and replicate (ignoring stripe for now), add logic to calculate the min() of stime values. * What is a 'stime' ? Why is this required: - stime means 'slave xtime', mainly used to keep track of slave node's sync status when distributed geo-replication is used. Logic of calculating 'min()' for this stime is very important as in case of crashes/reboots/shutdown, we will have to 'restart' with crawling from stime time value from the mount point, which gives the 'min()' of all the bricks, which means, we don't miss syncing any files in the above cases. Change-Id: I2be8d434326572be9d4986db665570a6181db1ee BUG: 847839 Original Author: Amar Tumballi <> Signed-off-by: Avra Sengupta <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'xlators/lib/src/libxlator.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/lib/src/libxlator.h b/xlators/lib/src/libxlator.h
index 7e75c948..c89629e9 100644
--- a/xlators/lib/src/libxlator.h
+++ b/xlators/lib/src/libxlator.h
@@ -98,7 +98,7 @@ cluster_getmarkerattr (call_frame_t *frame,xlator_t *this, loc_t *loc,
match_uuid_local (const char *name, char *uuid);
+gf_get_min_stime (xlator_t *this, dict_t *dst, char *key, data_t *value);
#endif /* !_LIBXLATOR_H */