aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchertus <azuikov@ydb.tech>2023-07-19 21:16:01 +0300
committerchertus <azuikov@ydb.tech>2023-07-19 21:16:01 +0300
commitfe86290c1a55823b32bf38941722ef20113d11bc (patch)
tree108cf8a9dce159bece9e30b8bd10d25faa7731c2
parent9361d2c961807b1e5af12bec73ae13d298338c0b (diff)
downloadydb-fe86290c1a55823b32bf38941722ef20113d11bc.tar.gz
KIKIMR-18570 better logging for S3 put/delete responses
-rw-r--r--ydb/core/tx/tiering/s3_actor.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/ydb/core/tx/tiering/s3_actor.cpp b/ydb/core/tx/tiering/s3_actor.cpp
index 21af44ac0c..cb0e420921 100644
--- a/ydb/core/tx/tiering/s3_actor.cpp
+++ b/ydb/core/tx/tiering/s3_actor.cpp
@@ -247,7 +247,9 @@ public:
const TString key = *msg.Key;
- LOG_S_DEBUG("[S3] PutObjectResponse '" << key << "' at tablet " << TabletId);
+ LOG_S_NOTICE("[S3] PutObjectResponse '" << key << "' "
+ << (resultOutcome.IsSuccess() ? "OK" : resultOutcome.GetError().GetMessage()) << " at tablet " << TabletId);
+
KeyFinished(key, hasError, errStr);
}
@@ -307,8 +309,6 @@ public:
TString key = *msg.Key;
- LOG_S_DEBUG("[S3] DeleteObjectResponse '" << key << "' at tablet " << TabletId);
-
if (!ForgettingKeys.count(key)) {
LOG_S_INFO("[S3] DeleteObjectResponse for unknown key '" << key << "' at tablet " << TabletId);
return;
@@ -322,6 +322,9 @@ public:
return;
}
+ LOG_S_NOTICE("[S3] DeleteObjectResponse '" << key << "' "
+ << (resultOutcome.IsSuccess() ? "OK" : resultOutcome.GetError().GetMessage()) << " at tablet " << TabletId);
+
auto& forget = Forgets[forgetNo];
forget.KeysToDelete.erase(key);