|
@@ -300,7 +300,6 @@ class Repository(object):
|
|
report_error('Adding commit tag to segment {}'.format(transaction_id))
|
|
report_error('Adding commit tag to segment {}'.format(transaction_id))
|
|
self.io.segment = transaction_id + 1
|
|
self.io.segment = transaction_id + 1
|
|
self.io.write_commit()
|
|
self.io.write_commit()
|
|
- self.io.close_segment()
|
|
|
|
if current_index and not repair:
|
|
if current_index and not repair:
|
|
if len(current_index) != len(self.index):
|
|
if len(current_index) != len(self.index):
|
|
report_error('Index object count mismatch. {} != {}'.format(len(current_index), len(self.index)))
|
|
report_error('Index object count mismatch. {} != {}'.format(len(current_index), len(self.index)))
|