From 98fa70da1130ca63493e325d072e0f0aebff6d77 Mon Sep 17 00:00:00 2001 From: Vishesh Yadav Date: Wed, 4 Aug 2021 13:28:47 -0700 Subject: [PATCH 1/2] backup: Show error info for RemovedDeadBackupLayerStatus --- fdbbackup/backup.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbbackup/backup.actor.cpp b/fdbbackup/backup.actor.cpp index caab2918b3..459647e71b 100644 --- a/fdbbackup/backup.actor.cpp +++ b/fdbbackup/backup.actor.cpp @@ -1667,7 +1667,7 @@ ACTOR Future cleanupStatus(Reference tr, readMore = true; } catch (Error& e) { // If doc can't be parsed or isn't alive, delete it. - TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key); + TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key).error(e); tr->clear(docs[i].key); // If limit is 1 then read more. if (limit == 1) From de93e2f854a6a9fc5c49ae1f1d5be1d131d13f85 Mon Sep 17 00:00:00 2001 From: Vishesh Yadav Date: Wed, 4 Aug 2021 20:27:43 -0700 Subject: [PATCH 2/2] Update fdbbackup/backup.actor.cpp Co-authored-by: Jingyu Zhou --- fdbbackup/backup.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbbackup/backup.actor.cpp b/fdbbackup/backup.actor.cpp index 459647e71b..d40c2e36d0 100644 --- a/fdbbackup/backup.actor.cpp +++ b/fdbbackup/backup.actor.cpp @@ -1667,7 +1667,7 @@ ACTOR Future cleanupStatus(Reference tr, readMore = true; } catch (Error& e) { // If doc can't be parsed or isn't alive, delete it. - TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key).error(e); + TraceEvent(SevWarn, "RemovedDeadBackupLayerStatus").detail("Key", docs[i].key).error(e, true); tr->clear(docs[i].key); // If limit is 1 then read more. if (limit == 1)