From 68924c9ae57c14669e46aadef4135c188c8fb5fb Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Wed, 17 Dec 2014 16:16:14 -0800 Subject: [PATCH] worker: ignore 404 when removing op_state It's fine if the gateway deleted it first. Signed-off-by: Josh Durgin --- radosgw_agent/worker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radosgw_agent/worker.py b/radosgw_agent/worker.py index 40435ea..c259ffb 100644 --- a/radosgw_agent/worker.py +++ b/radosgw_agent/worker.py @@ -211,6 +211,8 @@ class DataWorker(Worker): if found: client.remove_op_state(self.dest_conn, self.daemon_id, local_op_id, bucket, obj) + except client.NotFound: + log.debug('op state already gone') except Exception: log.exception('could not remove op state for daemon "%s" op_id %s', self.daemon_id, local_op_id) -- 2.47.3