summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/master.py
diff options
context:
space:
mode:
authorarao <arao@redhat.com>2015-01-29 16:37:35 +0530
committerHumble Devassy Chirammal <humble.devassy@gmail.com>2015-02-03 10:03:41 -0800
commitea6a31cd7c430768b8dfd3b4944fffde0be3a740 (patch)
tree891ab7ba3dac8a2a5f6d2c7288a34e41456c09c3 /geo-replication/syncdaemon/master.py
parent7842f86a5c48389b6c34009b08799adca19b7311 (diff)
geo-rep: Fixing the typo errors
Change-Id: Iacc67e4ba9ac45e0858f3befe84ffb8fccf7e1c3 BUG: 1075417 Signed-off-by: arao <arao@redhat.com> Reviewed-on: http://review.gluster.org/9502 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
-rw-r--r--geo-replication/syncdaemon/master.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py
index 138e7e475b8..6f1b639e566 100644
--- a/geo-replication/syncdaemon/master.py
+++ b/geo-replication/syncdaemon/master.py
@@ -478,7 +478,7 @@ class GMasterCommon(object):
# no need to maintain volinfo state machine.
# in a cascading setup, each geo-replication session is
# independent (ie. 'volume-mark' and 'xtime' are not
- # propogated). This is beacuse the slave's xtime is now
+ # propogated). This is because the slave's xtime is now
# stored on the master itself. 'volume-mark' just identifies
# that we are in a cascading setup and need to enable
# 'geo-replication.ignore-pid-check' option.
@@ -717,7 +717,7 @@ class GMasterCommon(object):
"""perform jobs registered for @path
Reset jobtab entry for @path,
- determine success as the conjuction of
+ determine success as the conjunction of
success of all the jobs. In case of
success, call .sendmark on @path
"""
@@ -766,7 +766,7 @@ class GMasterChangelogMixin(GMasterCommon):
TYPE_GFID = "D "
TYPE_ENTRY = "E "
- # flat directory heirarchy for gfid based access
+ # flat directory hierarchy for gfid based access
FLAT_DIR_HIERARCHY = '.'
# maximum retries per changelog before giving up
@@ -979,7 +979,7 @@ class GMasterChangelogMixin(GMasterCommon):
# update the slave's time with the timestamp of the _last_
# changelog file time suffix. Since, the changelog prefix time
# is the time when the changelog was rolled over, introduce a
- # tolerence of 1 second to counter the small delta b/w the
+ # tolerance of 1 second to counter the small delta b/w the
# marker update and gettimeofday().
# NOTE: this is only for changelog mode, not xsync.
@@ -1297,7 +1297,7 @@ class GMasterXsyncMixin(GMasterChangelogMixin):
"""
This crawl needs to be xtime based (as of now
- it's not. this is beacuse we generate CHANGELOG
+ it's not. this is because we generate CHANGELOG
file during each crawl which is then processed
by process_change()).
For now it's used as a one-shot initial sync
@@ -1329,7 +1329,7 @@ class GMasterXsyncMixin(GMasterChangelogMixin):
event dispatcher thread
this thread dispatches either changelog or synchronizes stime.
- additionally terminates itself on recieving a 'finale' event
+ additionally terminates itself on receiving a 'finale' event
"""
def Xsyncer():
self.Xcrawl()