Merge branch 'trough-dedup' into qa

* trough-dedup:
  fix logging
This commit is contained in:
Noah Levitt 2017-11-30 16:08:28 -08:00
commit 242e81be7d

View File

@ -70,7 +70,8 @@ class TroughClient(object):
with self._dirty_segments_lock: with self._dirty_segments_lock:
dirty_segments = list(self._dirty_segments) dirty_segments = list(self._dirty_segments)
self._dirty_segments.clear() self._dirty_segments.clear()
logging.info('promoting %s trough segments') logging.info(
'promoting %s trough segments', len(dirty_segments))
for segment in dirty_segments: for segment in dirty_segments:
try: try:
self.promote(segment) self.promote(segment)