frostfs-node/pkg/services/object
Ekaterina Lebedeva bd61f7bf0a
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m17s
Pre-commit hooks / Pre-commit (push) Successful in 1m38s
Build / Build Components (push) Successful in 1m49s
Tests and linters / Run gofumpt (push) Successful in 2m10s
Tests and linters / Staticcheck (push) Successful in 2m21s
Tests and linters / Lint (push) Successful in 2m33s
Tests and linters / Tests with -race (push) Successful in 2m34s
Tests and linters / Tests (push) Successful in 2m59s
Tests and linters / gopls check (push) Successful in 3m1s
OCI image / Build container images (push) Successful in 4m12s
[#1666] audit: Fix duplicated log in Patch method
When we do `object patch` with audit enabled we get several
duplicated entries in logs.

`object patch` request is logged in 2 places:
1. `(*auditPatchStream) CloseAndRecv()` - when the client closes
   the request stream or when stream gets aborted.
2. `(*auditPatchStream) Send()` - when stream was NOT aborted.

`Send()` doesn't check if `err != nil` before logging.
It led to to logging on every `Send()` call.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2025-03-07 13:27:07 +00:00
..
acl [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
ape [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
common [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
delete [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
get [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
internal [#465] objsvc: Set NETMAP_EPOCH xheader for auxiliary requests 2024-12-26 09:17:58 +00:00
patch [#1662] object: Fix CloseAndRecv for patch streamer 2025-03-05 17:16:10 +03:00
put [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
search [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
util [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
audit.go [#1666] audit: Fix duplicated log in Patch method 2025-03-07 13:27:07 +00:00
common.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
metrics.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
qos.go [#1636] object: Fix IO tag adjustment for Put/Patch 2025-02-28 17:25:28 +03:00
remote_reader.go [#1431] obj_storage/metabase: Delete unused variable 2024-10-15 08:53:59 +00:00
request_context.go [#1480] ape: Remove SoftAPECheck flag 2024-11-08 12:01:14 +00:00
response.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
server.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
sign.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
transport_splitter.go [#1586] objsvc: Allow to send search response in multiple messages 2024-12-28 12:29:22 +00:00