mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-05 13:20:31 +02:00
fix ptrack
This commit is contained in:
parent
f7052186c2
commit
1091662479
@ -231,7 +231,7 @@ class ProbackupTest(object):
|
||||
def get_md5_per_page_for_fork(self, file, size_in_pages):
|
||||
pages_per_segment = {}
|
||||
md5_per_page = {}
|
||||
nsegments = size_in_pages / 131072
|
||||
nsegments = size_in_pages // 131072
|
||||
if size_in_pages % 131072 != 0:
|
||||
nsegments = nsegments + 1
|
||||
# print("Size: {0}".format(size_in_pages))
|
||||
|
Loading…
Reference in New Issue
Block a user