]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commitdiff
improve the logging saying the op state will be tried again 42/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 25 May 2016 18:55:11 +0000 (14:55 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 25 May 2016 18:55:11 +0000 (14:55 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1336532

radosgw_agent/worker.py

index 4d82b126f2dab3a015403b365ad9e024119f01f6..e5dde5a31ba4211e7f8bf7a6bc205af4aa67cac8 100644 (file)
@@ -287,6 +287,7 @@ class DataWorker(Worker):
                 raise SyncFailed('object copy state not found')
             except Exception as e:
                 log.debug('error geting op state: %s', e, exc_info=True)
+                log.info('will try to get op state again')
                 time.sleep(1)
         # timeout expired
         raise SyncTimedOut()