3a794131b0
Trigger CI on Alya, iteration 4
Tests and linters / Tests with -race (push) Failing after 6m11s
DCO action / DCO (push) Failing after 7m41s
Tests and linters / Run gofumpt (push) Successful in 9m26s
Pre-commit hooks / Pre-commit (push) Successful in 9m56s
Vulncheck / Vulncheck (push) Successful in 10m17s
Tests and linters / Staticcheck (push) Successful in 10m57s
Tests and linters / Lint (push) Successful in 11m22s
Tests and linters / gopls check (push) Successful in 11m57s
Tests and linters / Tests (push) Failing after 13m51s
Build / Build Components (push) Failing after 10m17s
2024-12-25 16:06:29 +03:00
9efd925faf
Trigger CI on Alya, iteration 3
DCO action / DCO (push) Failing after 3m47s
Tests and linters / Run gofumpt (push) Failing after 4m1s
Tests and linters / Tests (push) Successful in 7m3s
Vulncheck / Vulncheck (push) Failing after 7m13s
Pre-commit hooks / Pre-commit (push) Successful in 7m45s
Tests and linters / Staticcheck (push) Successful in 9m6s
Tests and linters / Lint (push) Successful in 9m21s
Tests and linters / Tests with -race (push) Successful in 10m40s
Tests and linters / gopls check (push) Successful in 10m55s
Build / Build Components (push) Successful in 12m28s
2024-12-25 16:06:27 +03:00
8774cdbe07
Trigger CI on Alya, iteration 2
DCO action / DCO (push) Failing after 3m27s
Tests and linters / Run gofumpt (push) Successful in 4m28s
Tests and linters / Tests (push) Successful in 4m3s
Pre-commit hooks / Pre-commit (push) Successful in 5m55s
Tests and linters / Staticcheck (push) Successful in 6m7s
Tests and linters / Tests with -race (push) Successful in 6m35s
Tests and linters / Lint (push) Successful in 7m0s
Tests and linters / gopls check (push) Successful in 7m18s
Vulncheck / Vulncheck (push) Successful in 7m31s
Build / Build Components (push) Successful in 11m28s
2024-12-25 16:06:25 +03:00
adff5f2459
Trigger CI on Alya, iteration 1
Vulncheck / Vulncheck (push) Failing after 1m46s
DCO action / DCO (push) Failing after 2m44s
Tests and linters / Run gofumpt (push) Successful in 3m5s
Tests and linters / Staticcheck (push) Successful in 5m15s
Tests and linters / Tests (push) Successful in 5m18s
Pre-commit hooks / Pre-commit (push) Successful in 6m12s
Tests and linters / Tests with -race (push) Successful in 6m19s
Tests and linters / gopls check (push) Successful in 6m36s
Tests and linters / Lint (push) Successful in 6m46s
Build / Build Components (push) Successful in 11m12s
2024-12-25 16:06:19 +03:00
20cb8fdb25
Trigger CI on Alya, iteration 6
2024-12-25 16:05:44 +03:00
c08c98def0
Trigger CI on Alya, iteration 5
2024-12-25 16:05:42 +03:00
8ddcde1a19
Trigger CI on Alya, iteration 4
2024-12-25 16:05:41 +03:00
c451fc53fd
Trigger CI on Alya, iteration 3
2024-12-25 16:05:39 +03:00
9be67499c2
Trigger CI on Alya, iteration 2
2024-12-25 16:05:37 +03:00
e5ca7dced9
Trigger CI on Alya, iteration 1
2024-12-25 16:05:35 +03:00
edeb780960
Trigger CI on Alya, iteration 10
Tests and linters / Lint (push) Failing after 17s
DCO action / DCO (push) Failing after 44s
Tests and linters / Run gofumpt (push) Successful in 28s
Vulncheck / Vulncheck (push) Successful in 2m12s
Build / Build Components (push) Successful in 2m51s
Pre-commit hooks / Pre-commit (push) Successful in 2m57s
Tests and linters / Staticcheck (push) Successful in 3m19s
Tests and linters / Tests (push) Successful in 3m31s
Tests and linters / gopls check (push) Successful in 3m44s
Tests and linters / Tests with -race (push) Successful in 4m15s
2024-12-25 15:58:23 +03:00
10a8a35d73
Trigger CI on Alya, iteration 9
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:18 +03:00
7883c1a2ce
Trigger CI on Alya, iteration 8
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:15 +03:00
3b77717773
Trigger CI on Alya, iteration 7
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Run gofumpt (push) Successful in 31s
Tests and linters / Tests with -race (push) Successful in 2m9s
Tests and linters / Staticcheck (push) Successful in 3m43s
Tests and linters / gopls check (push) Successful in 4m4s
2024-12-25 15:58:11 +03:00
9fc89b2ff6
Trigger CI on Alya, iteration 6
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Build / Build Components (push) Has been cancelled
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
DCO action / DCO (push) Has been cancelled
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:08 +03:00
c79b3ef8f1
Trigger CI on Alya, iteration 5
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Tests with -race (push) Has been cancelled
Tests and linters / Staticcheck (push) Failing after 14s
Tests and linters / Run gofumpt (push) Successful in 38s
Tests and linters / gopls check (push) Successful in 4m13s
2024-12-25 15:58:05 +03:00
865c1b7097
Trigger CI on Alya, iteration 4
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:03 +03:00
7d41f27ccc
Trigger CI on Alya, iteration 3
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Lint (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
2024-12-25 15:58:00 +03:00
83c9851822
Trigger CI on Alya, iteration 2
Build / Build Components (push) Waiting to run
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Vulncheck / Vulncheck (push) Waiting to run
Tests and linters / Lint (push) Has been cancelled
Tests and linters / Tests (push) Has been cancelled
Tests and linters / Tests with -race (push) Has been cancelled
Tests and linters / Staticcheck (push) Has been cancelled
Tests and linters / gopls check (push) Has been cancelled
Tests and linters / Run gofumpt (push) Successful in 38s
2024-12-25 15:57:58 +03:00
9a85fc85c8
Trigger CI on Alya, iteration 1
DCO action / DCO (push) Waiting to run
Pre-commit hooks / Pre-commit (push) Waiting to run
Tests and linters / Tests (push) Waiting to run
Tests and linters / Tests with -race (push) Waiting to run
Tests and linters / Staticcheck (push) Waiting to run
Tests and linters / gopls check (push) Waiting to run
Tests and linters / Run gofumpt (push) Waiting to run
Build / Build Components (push) Has been cancelled
Tests and linters / Lint (push) Has been cancelled
Vulncheck / Vulncheck (push) Has been cancelled
2024-12-25 15:57:55 +03:00
6369133877
alya: Trigger CI
...
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2024-12-25 15:56:27 +03:00
2832f44437
[ #1531 ] metrics: Rename app_info
metric
...
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-23 10:40:18 +00:00
7c3bcb0f44
[ #1578 ] Makefile: Refill GAS with a single command in env-up
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
e64871c3fd
[ #1578 ] adm: Allow to transfer GAS to multiple recepients
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
303cd35a01
[ #1578 ] adm: Remove unnecessary comments in RefillGasCmd
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
bb9ba1bce2
[ #1578 ] adm: Remove bool flag from refillGas()
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
db03742d33
[ #1578 ] adm: Reword help message for morph refill-gas
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-23 11:17:22 +03:00
148d68933b
[ #1573 ] node: Simplify bootstrapWithState()
...
After #1382 we have no need to use lambdas.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-20 08:17:05 +00:00
51ee132ea3
[ #1342 ] network/cache: Add node address to error multiClient
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-12-18 19:27:35 +03:00
226dd25dd0
[ #1568 ] pilorama: Replace "containerID" with "container ID" in the error message
...
It is "container ID" in every other place.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 15:52:26 +00:00
bd0197eaa8
[ #1568 ] storage: Remove "could not/can't/failed to" from error messages
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 15:52:26 +00:00
e44b84c18c
[ #1569 ] cli: Remove unnecessary variable after refactoring
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 10:17:04 +03:00
bed49e6ace
[ #1569 ] cli: Make --range
flag required in object hash
...
Previously, `object head` was used if no range was provided.
This is wrong on multiple levels:
1. We print an error if the checksum is missing in header,
even though taking hash is possible.
2. We silently ignore --salt parameter.
3. `--range` is required for Object.RANGEHASH RPC, custom logic for one
specific usecase has no value.
So we make it required and make CLI command follow more closely
the FrostFS API.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-18 10:17:04 +03:00
df05057ed4
[ #1452 ] container: Add ListStream method
...
* Added new method for listing containers to container service.
It opens stream and sends containers in batches.
* Added TransportSplitter wrapper around ExecutionService to
split container ID list read from contract in parts that are
smaller than grpc max message size. Batch size can be changed
in node configuration file (as in example config file).
* Changed `container list` implementaion in cli: now ListStream
is called by default. Old List is called only if ListStream
is not implemented.
* Changed `internalclient.ListContainersPrm`.`Account` to
`OwnerID` since `client.PrmContainerList`.`Account` was
renamed to `OwnerID` in sdk.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-17 16:22:43 +03:00
b6c8ebf493
[ #1453 ] container: Replace sort.Slice
with slices.SortFunc
...
* Replaced `sort.Slice` with `slices.SortFunc` in
`ListContainersRes.SortedIDList()` as it is a bit faster,
according to 15102e6dfd
.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-17 13:33:43 +03:00
6e82661c35
[ #1563 ] tree: Wrap only ChainRouterError
erros with ObjectAccessDenied
...
* Such wrapping helps to differentiate logical check errors and server internal
errors.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:16:07 +03:00
1a091ea7bb
[ #1563 ] object: Wrap only ChainRouterError
erros with ObjectAccessDenied
...
* Such wrapping helps to differentiate logical check errors and server internal
errors.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:15:25 +03:00
7ac3542714
[ #1563 ] ape: Introduce ChainRouterError
error type
...
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-12-16 15:12:30 +03:00
f0c43c8d80
[ #1502 ] Use zap.Error
for logging errors
...
Use `zap.Error` instead of `zap.String` for logging errors: change all expressions like
`zap.String("error", err.Error())` or `zap.String("err", err.Error())` to `zap.Error(err)`.
Leave similar expressions with other messages unchanged, for example,
`zap.String("last_error", lastErr.Error())` or `zap.String("reason", ctx.Err().Error())`.
This change was made by applying the following patch:
```diff
@@
var err expression
@@
-zap.String("error", err.Error())
+zap.Error(err)
@@
var err expression
@@
-zap.String("err", err.Error())
+zap.Error(err)
```
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-16 11:13:42 +03:00
8ba9f31fca
[ #1510 ] metabase/test: Fix BenchmarkListWithCursor
...
- Fix misplaced `(*DB).Close` (broken after 47dcfa20f3
)
- Use `errors.Is` for error checking (broken after fcdbf5e509
)
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-13 13:19:15 +03:00
2af3409d39
[ #1510 ] metabase/test: Fix BenchmarkGet
...
Fix misplaced `(*DB).Close` (broken after 47dcfa20f3
)
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-13 13:18:43 +03:00
d165ac042c
[ #1558 ] morph/client: Reuse notary rpcclient wrapper
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-12 15:30:12 +03:00
7151c71d51
[ #1558 ] morph/client: Remove "could not"/"can't"/"failed to" from error messages
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-12 15:30:12 +03:00
91d9dc2676
[ #1558 ] morph/event: Remove "could not" from error messages
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-12 15:30:12 +03:00
7853dbc315
[ #1557 ] morph/event: Remove embedded structs from scriptHashWithValue
...
Also, make them public, because otherwise `unused` linter complains.
```
pkg/morph/event/utils.go:25:2 unused field `typ` is unused
```
This complain is wrong, though: we _use_ `typ` field because the whole
struct is used as a map key.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-12 11:55:09 +00:00
3821645085
[ #1555 ] engine: Refactor (*StorageEngine).GetLocks
...
Refactored after renaming the method to replace the confusing `locked`
variable with `locks`.
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-11 15:06:38 +03:00
72470d6b48
[ #1555 ] local_object_storage: Rename method GetLocked
-> GetLocks
...
Renamed to better reflect the method's purpose of returning locks
for the specified object.
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2024-12-11 15:06:37 +03:00
e9837bbcf9
[ #1554 ] morph/event: Remove unused AlphabetUpdate event
...
Refs TrueCloudLab/frostfs-contract#138 .
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-11 12:01:17 +00:00
a641c91594
[ #1550 ] Add CODEOWNERS
...
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
2024-12-11 10:34:57 +00:00
b1614a284d
[ #1546 ] morph/event: Export NotificationHandlerInfo fields
...
Hiding them achieves nothing, as the struct has no methods and is not
used concurrently.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-11 07:39:49 +00:00