fix gc running too soon
This commit is contained in:
parent
cd2458b830
commit
aa96fa3cf5
1 changed files with 3 additions and 3 deletions
6
btv
6
btv
|
@ -349,13 +349,13 @@ def do_create(args):
|
||||||
print("!!! no previous Rank 2 snapshot, please create one using btv stream")
|
print("!!! no previous Rank 2 snapshot, please create one using btv stream")
|
||||||
snapshot.rank = 1
|
snapshot.rank = 1
|
||||||
|
|
||||||
## garbage collection
|
|
||||||
do_gc()
|
|
||||||
|
|
||||||
## save all snapshot metadata
|
## save all snapshot metadata
|
||||||
snapshot.dump()
|
snapshot.dump()
|
||||||
|
|
||||||
print(">>> Snapshot created: rank %d %s" %(snapshot.rank, snapshot.name))
|
print(">>> Snapshot created: rank %d %s" %(snapshot.rank, snapshot.name))
|
||||||
|
|
||||||
|
## garbage collection
|
||||||
|
do_gc()
|
||||||
|
|
||||||
def do_list(args):
|
def do_list(args):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue