|
300654b045
|
[#1083] objsvc/v2: Properly check response status after forwarding
Previously we had cryptic error:
```
debug get/remote.go:38 remote call failed {"component": "Object.Get service", "request": "HEAD", "address": "9sTxoVrhJ7WBtXQfK2NJ7zDV5yCF7BPLKK1XTxYPdGsP/BbHV4KZZ8y2BPqAT5kyjdHRLkfbtY2xf5uYoMVqxACn1", "raw": false, "local": false, "with session": false, "with bearer": false, "error": "unexpected header type <nil>"}
```
Now we have and expected error:
```
debug get/remote.go:38 remote call failed {"component": "Object.Get service", "request": "HEAD", "address": "D2rqaMG4D2VHdv3HKky8UYSYmwQFH2v9oXXqtyRZPTMy/BbHV4KZZ8y2BPqAT5kyjdHRLkfbtY2xf5uYoMVqxACn1", "raw": false, "local": false, "with session": false, "with bearer": false, "error": "status: code = 2049 message = object not found"}
```
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
|
2024-05-15 12:04:06 +03:00 |
|
|
112a7c690f
|
[#1103] node: Implement Get\Head requests for EC object
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
|
2024-04-24 18:15:53 +03:00 |
|
|
033eaf77e1
|
[#496] node: Fix linter importas
Standardize the alias of the
import frostfs-sdk-go/object as objectSDK.
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
|
2023-07-06 15:36:41 +03:00 |
|
|
74578052f9
|
[#412] node: Replace tracing package
Use observability module.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-06-01 13:23:11 +00:00 |
|
|
faca861451
|
[#411] Remove unnecessary pointers for sync objects
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
|
2023-05-31 10:19:14 +00:00 |
|
|
22d47376a6
|
[#277] getsvc: Refactor errors
Move errors to separate files.
Use zap.Error for error logging.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-28 14:03:12 +00:00 |
|
|
dfe4ada838
|
[#285] lint: Resolve revive/if-return
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
|
2023-04-26 17:35:08 +03:00 |
|
|
3d43b0f7f9
|
[#265] node: Fix after SDK & API-Go version up
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-18 12:09:19 +03:00 |
|
|
0920d848d0
|
[#135] get-object: Add tracing spans
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-12 06:52:00 +00:00 |
|
|
c58ab0c369
|
[#193] getsvc: Reduce private key requests
Get private key only once for request forwaring.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-05 14:38:48 +00:00 |
|
|
89924071cd
|
[#193] getsvc: Edit request forwarder signature
Pass context to forwarder direct, without closure.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-05 14:38:48 +00:00 |
|
|
f889893216
|
[#193] getsvc: Refactor head param creation
Resolve funlen linter for toHeadPrm method.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
|
2023-04-05 14:38:48 +00:00 |
|