diff options
author | Martin Pihlak | 2010-07-27 07:27:10 +0000 |
---|---|---|
committer | Martin Pihlak | 2010-07-27 07:27:10 +0000 |
commit | c7f7d2c5fb50a8ac515ada6c5ba2f4a9def0c84f (patch) | |
tree | 7a26c4ff2e5cdf13b816fc62e8e8d11afc0b3472 /python/walmgr.py | |
parent | 72d170bbe8ee20a34b2299dd4f10555fc5922a04 (diff) |
Simplify the cleanup logic for partial wals.
Diffstat (limited to 'python/walmgr.py')
-rwxr-xr-x | python/walmgr.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python/walmgr.py b/python/walmgr.py index f9a8e005..d5b60d6f 100755 --- a/python/walmgr.py +++ b/python/walmgr.py @@ -1231,12 +1231,6 @@ STOP TIME: %(stop_time)s self.log.debug("%s: copy done, cleanup" % srcname) self.slave_cleanup(lstname) - if os.path.isfile(partfile) and not srcfile == partfile: - # Remove any partial files after restore. Only leave the partial if - # it is actually used in recovery. - self.log.debug("%s: removing partial not anymore needed for recovery." % partfile) - os.remove(partfile) - # create a PROGRESS file to notify that postgres is processing the WAL open(prgrfile, "w").write("1") |