Skip to content

Commit 9d8ea84

Browse files
authored
[M6-486] Faster Disk compression for Backups stored in our backup server using gzip --fast (#14)
- Implement faster disk compression for backups stored in our backup server using gzip --fast
1 parent b08aaf3 commit 9d8ea84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.3
1+
1.4.5

mongodb_consistent_backup/Common/LocalCommand.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def parse_output(self):
4343

4444
def run(self):
4545
try:
46-
cmd = " ".join(self.admin_command_line+ ["&&"]+ self.command_line)
46+
cmd = " ".join(["export GZIP=-1"]+ ["&&"] +self.admin_command_line+ ["&&"]+ self.command_line)
4747
self._process = Popen(cmd, stdout=PIPE, stderr=PIPE,shell= True)
4848
while self._process.poll() is None:
4949
self.parse_output()

0 commit comments

Comments
 (0)