diff options
Diffstat (limited to 'geo-replication/syncdaemon/master.py')
| -rw-r--r-- | geo-replication/syncdaemon/master.py | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/geo-replication/syncdaemon/master.py b/geo-replication/syncdaemon/master.py index 721ad9c3635..7707efa7cea 100644 --- a/geo-replication/syncdaemon/master.py +++ b/geo-replication/syncdaemon/master.py @@ -940,8 +940,9 @@ class GMasterChangelogMixin(GMasterCommon):                      if pt in datas:                          datas.remove(pt) -                    purge_update() -                    entries.append(edct(ty, gfid=gfid, entry=en)) +                    if not boolify(gconf.ignore_deletes): +                        purge_update() +                        entries.append(edct(ty, gfid=gfid, entry=en))                  elif ty in ['CREATE', 'MKDIR', 'MKNOD']:                      entry_update()                      # stat information present in the changelog itself  | 
