engine: Log the error when check object existence #1225

Merged
fyrchik merged 1 commit from acid-ant/frostfs-node:bugfix/ext-log-any-shard into master 2024-07-04 07:23:07 +00:00
Member

Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com

Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
acid-ant force-pushed bugfix/ext-log-any-shard from 5730a645ba to 257d880098 2024-07-03 14:19:09 +00:00 Compare
acid-ant requested review from storage-core-committers 2024-07-03 14:19:15 +00:00
acid-ant requested review from storage-core-developers 2024-07-03 14:19:39 +00:00
fyrchik reviewed 2024-07-03 18:23:48 +00:00
@ -150,2 +150,4 @@
// expired => do nothing with it
res.status = putToShardExists
} else {
e.log.Warn(logs.EngineCouldNotCheckObjectExistence,
Owner

There could be a bunch of logical errors, I think Warn is too much for this error (which can repeat a lot)
What was the problem that you were trying to debug?

There could be a bunch of logical errors, I think `Warn` is too much for this error (which can repeat a lot) What was the problem that you were trying to debug?
Author
Member

This is only one place where we skip putting an error in the log. For all other situations, we have an entry with level warn.
Looks like it is not necessary to extend an error could not put object to any shard somehow.

This is only one place where we skip putting an error in the log. For all other situations, we have an entry with level `warn`. Looks like it is not necessary to extend an error `could not put object to any shard` somehow.
dstepanov-yadro approved these changes 2024-07-04 07:15:24 +00:00
achuprov approved these changes 2024-07-04 07:17:14 +00:00
fyrchik approved these changes 2024-07-04 07:18:18 +00:00
fyrchik merged commit bbe95dac8b into master 2024-07-04 07:23:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1225
No description provided.