diff options
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
| -rw-r--r-- | geo-replication/syncdaemon/master.py | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index eadf51d3e5b..38b9d9c9fc9 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -828,10 +828,11 @@ class GMasterChangelogMixin(GMasterCommon):              et = e[self.IDX_START:self.IDX_END]   # entry type              ec = e[self.IDX_END:].split(' ')      # rest of the bits -            # skip ENTRY operation if cold tier brick -            if self.name == 'live_changelog': -                if boolify(gconf.is_coldtier) and et == self.TYPE_ENTRY: -                    logging.debug('skip ENTRY op: %s if cold tier brick' +            # skip ENTRY operation if hot tier brick +            if self.name == 'live_changelog' or \ +                self.name == 'history_changelog': +                if boolify(gconf.is_hottier) and et == self.TYPE_ENTRY: +                    logging.debug('skip ENTRY op: %s if hot tier brick'                                    % (ec[self.POS_TYPE]))                      continue  | 
