401d96a89e
[ #1636 ] config: Refactor newConfig and oldConfig
...
`newConfig` is actually target config to set config values from source
(which is called `oldConfig`).
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-28 17:25:29 +03:00
e0dc3c3d0c
[ #1636 ] shard: Add limiter usage
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-28 17:25:26 +03:00
92a67a6716
[ #1636 ] qos: Add Limiter
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-28 17:25:26 +03:00
98d6125029
[ #1636 ] config: Add shard.limits
config
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-28 17:25:25 +03:00
c660271039
[ #1658 ] node: Validate RPC limiter configuration
...
DCO action / DCO (pull_request) Successful in 34s
Vulncheck / Vulncheck (pull_request) Successful in 1m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m24s
Build / Build Components (pull_request) Successful in 1m29s
Tests and linters / Run gofumpt (pull_request) Successful in 2m20s
Tests and linters / Tests (pull_request) Successful in 2m29s
Tests and linters / Lint (pull_request) Successful in 2m33s
Tests and linters / Staticcheck (pull_request) Successful in 2m36s
Tests and linters / Tests with -race (pull_request) Successful in 3m20s
Tests and linters / gopls check (pull_request) Successful in 3m42s
Build / Build Components (push) Has been cancelled
Vulncheck / Vulncheck (push) Successful in 1m0s
OCI image / Build container images (push) Has been cancelled
Pre-commit hooks / Pre-commit (push) Successful in 1m24s
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 / Run gofumpt (push) Has been cancelled
Tests and linters / gopls check (push) Has been cancelled
Validate that configured limits match the methods registered earlier.
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-28 16:31:47 +03:00
92ab58984b
[ #1658 ] node: Simplify RPC limiter initialization
...
- Move all initialization logic to one place
- Initialize the limiter after all RPC services are registered to be able
to validate that configured limits match the methods registered earlier
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-28 16:24:33 +03:00
dae0949f6e
[ #1639 ] node: Support active RPC limiting
...
Vulncheck / Vulncheck (push) Successful in 1m10s
Pre-commit hooks / Pre-commit (push) Successful in 1m34s
Build / Build Components (push) Successful in 2m15s
Tests and linters / Tests with -race (push) Successful in 2m32s
Tests and linters / Run gofumpt (push) Successful in 2m33s
Tests and linters / gopls check (push) Successful in 2m37s
Tests and linters / Tests (push) Successful in 2m49s
Tests and linters / Lint (push) Successful in 2m51s
Tests and linters / Staticcheck (push) Successful in 2m57s
OCI image / Build container images (push) Successful in 5m12s
- Allow configuration of active RPC limits for method groups
- Apply RPC limiting for all services except the control service
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-28 11:08:09 +00:00
dce269c62e
[ #1639 ] services/object: Remove limiting pools for Put operation
...
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-28 11:08:09 +00:00
a97bded440
[ #1639 ] config: Separate replicator.pool_size
from other settings
...
Separated `replicator.pool_size` and `object.put.remote_pool_size` settings.
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-02-28 11:08:09 +00:00
2ff032db90
[ #1654 ] adm: Get 'gasInitialTotalSupply' from network
...
Vulncheck / Vulncheck (push) Successful in 1m1s
Pre-commit hooks / Pre-commit (push) Successful in 1m22s
Build / Build Components (push) Successful in 1m56s
Tests and linters / Run gofumpt (push) Successful in 3m24s
Tests and linters / Tests (push) Successful in 3m29s
Tests and linters / Staticcheck (push) Successful in 3m34s
Tests and linters / Lint (push) Successful in 3m38s
Tests and linters / Tests with -race (push) Successful in 4m14s
Tests and linters / gopls check (push) Successful in 4m16s
OCI image / Build container images (push) Successful in 5m4s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-27 11:57:45 +00:00
37972a91c1
[ #1654 ] adm: Make 'morph-init' idempotent
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-27 11:57:45 +00:00
b2adf1109e
[ #1646 ] cli: Use Cmp() functions for ID-like structs
...
DCO action / DCO (pull_request) Successful in 37s
Vulncheck / Vulncheck (pull_request) Successful in 52s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m23s
Build / Build Components (pull_request) Successful in 1m30s
Tests and linters / Run gofumpt (pull_request) Successful in 2m10s
Tests and linters / Lint (pull_request) Successful in 2m26s
Tests and linters / Tests (pull_request) Successful in 2m32s
Tests and linters / Staticcheck (pull_request) Successful in 2m42s
Tests and linters / Tests with -race (pull_request) Successful in 3m49s
Tests and linters / gopls check (pull_request) Successful in 3m47s
Vulncheck / Vulncheck (push) Successful in 1m15s
Build / Build Components (push) Successful in 1m49s
Pre-commit hooks / Pre-commit (push) Successful in 1m55s
Tests and linters / Run gofumpt (push) Successful in 2m58s
Tests and linters / Tests (push) Successful in 3m12s
Tests and linters / Lint (push) Successful in 3m21s
Tests and linters / Staticcheck (push) Successful in 3m22s
Tests and linters / Tests with -race (push) Successful in 3m50s
Tests and linters / gopls check (push) Successful in 3m49s
OCI image / Build container images (push) Successful in 4m41s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-20 12:27:07 +03:00
304bee938b
[ #1614 ] adm/nns: Add 'set-admin'
...
DCO action / DCO (pull_request) Successful in 37s
Vulncheck / Vulncheck (pull_request) Successful in 52s
Tests and linters / Run gofumpt (pull_request) Successful in 1m19s
Build / Build Components (pull_request) Successful in 1m29s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m40s
Tests and linters / Staticcheck (pull_request) Successful in 2m12s
Tests and linters / Lint (pull_request) Successful in 3m2s
Tests and linters / Tests (pull_request) Successful in 4m42s
Tests and linters / Tests with -race (pull_request) Successful in 5m0s
Tests and linters / gopls check (pull_request) Successful in 5m19s
Vulncheck / Vulncheck (push) Successful in 59s
Tests and linters / Run gofumpt (push) Successful in 1m25s
Pre-commit hooks / Pre-commit (push) Successful in 1m33s
Build / Build Components (push) Successful in 2m4s
Tests and linters / Staticcheck (push) Successful in 2m22s
Tests and linters / Lint (push) Successful in 3m17s
OCI image / Build container images (push) Successful in 4m16s
Tests and linters / Tests (push) Successful in 4m45s
Tests and linters / gopls check (push) Successful in 5m35s
Tests and linters / Tests with -race (push) Successful in 5m38s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-11 12:00:51 +03:00
b2163ff44c
[ #1614 ] adm: Allow use any wallets
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-11 12:00:25 +03:00
076952f4c7
[ #1614 ] adm/frostfsid: Add 'delete-kv'
...
DCO action / DCO (pull_request) Successful in 44s
Vulncheck / Vulncheck (pull_request) Successful in 1m2s
Build / Build Components (pull_request) Successful in 1m36s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m37s
Tests and linters / gopls check (pull_request) Successful in 2m40s
Tests and linters / Tests with -race (pull_request) Successful in 3m15s
Tests and linters / Lint (pull_request) Successful in 4m33s
Tests and linters / Staticcheck (pull_request) Successful in 4m39s
Tests and linters / Run gofumpt (pull_request) Successful in 4m41s
Tests and linters / Tests (pull_request) Successful in 4m50s
Vulncheck / Vulncheck (push) Successful in 1m10s
Tests and linters / Run gofumpt (push) Successful in 1m23s
Pre-commit hooks / Pre-commit (push) Successful in 1m41s
Build / Build Components (push) Successful in 1m55s
Tests and linters / Staticcheck (push) Successful in 2m21s
Tests and linters / Lint (push) Successful in 3m9s
OCI image / Build container images (push) Successful in 4m19s
Tests and linters / Tests with -race (push) Successful in 5m17s
Tests and linters / Tests (push) Successful in 5m19s
Tests and linters / gopls check (push) Successful in 5m29s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-10 15:28:29 +03:00
a7145ca9bf
[ #1614 ] adm/frostfsid: Add 'set-kv'
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-10 15:26:12 +03:00
0671c277db
[ #1608 ] tree: Add IO tag for tree sync requests
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:06 +03:00
fd0c6c461d
[ #1608 ] cli: Drop redundant interceptors
...
There is no metrics or IO tags in cli.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:05 +03:00
acec938b2d
[ #1608 ] qos: Add client grpc interceptors
...
`qos` client interceptors replace internal IO tags `writecache`,
`policer` and `background` with `internal` IO tag for outcomming RPC.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:04 +03:00
dc6aea7b79
[ #1608 ] control: Use IO tag critical
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:04 +03:00
12da2f8262
[ #1608 ] object: Add IO tag adjustment layer
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:03 +03:00
f6b3f79e89
[ #1608 ] qos: Add qos service to adjust incoming IO tags
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:43:03 +03:00
9729f31e5c
[ #1608 ] grpc: Add QoS interceptors for server and clients
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:41:06 +03:00
155f9eecb0
[ #1608 ] config: Add QoS section and config
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-02-07 15:41:06 +03:00
9b113c3156
[ #1613 ] morph: Add tracing for morph queries to neo-go
...
DCO action / DCO (pull_request) Successful in 59s
Vulncheck / Vulncheck (pull_request) Successful in 1m4s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m55s
Build / Build Components (pull_request) Successful in 2m4s
Tests and linters / Staticcheck (pull_request) Successful in 2m38s
Tests and linters / Lint (pull_request) Successful in 3m16s
Tests and linters / Run gofumpt (pull_request) Successful in 3m54s
Tests and linters / Tests (pull_request) Successful in 4m12s
Tests and linters / gopls check (pull_request) Successful in 4m31s
Tests and linters / Tests with -race (pull_request) Successful in 4m38s
OCI image / Build container images (push) Failing after 18s
Vulncheck / Vulncheck (push) Successful in 1m2s
Pre-commit hooks / Pre-commit (push) Successful in 1m39s
Build / Build Components (push) Successful in 1m45s
Tests and linters / Staticcheck (push) Successful in 2m18s
Tests and linters / Run gofumpt (push) Successful in 2m46s
Tests and linters / Lint (push) Successful in 3m5s
Tests and linters / Tests with -race (push) Successful in 3m23s
Tests and linters / Tests (push) Successful in 3m52s
Tests and linters / gopls check (push) Successful in 4m18s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-02-05 16:38:20 +03:00
78bfd12229
[ #1622 ] adm: Return non zero return code if metabase upgrade failed
...
DCO action / DCO (pull_request) Successful in 46s
Tests and linters / Run gofumpt (pull_request) Successful in 49s
Vulncheck / Vulncheck (pull_request) Successful in 1m16s
Build / Build Components (pull_request) Successful in 2m18s
Tests and linters / Staticcheck (pull_request) Successful in 2m12s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m20s
Tests and linters / Tests (pull_request) Successful in 2m21s
Tests and linters / Lint (pull_request) Successful in 5m29s
Tests and linters / Tests with -race (pull_request) Successful in 5m31s
Tests and linters / gopls check (pull_request) Successful in 5m57s
Tests and linters / Run gofumpt (push) Successful in 37s
Vulncheck / Vulncheck (push) Successful in 52s
Pre-commit hooks / Pre-commit (push) Successful in 1m32s
Build / Build Components (push) Successful in 2m4s
Tests and linters / Staticcheck (push) Successful in 2m31s
Tests and linters / Lint (push) Successful in 3m20s
Tests and linters / Tests (push) Successful in 4m3s
OCI image / Build container images (push) Successful in 4m10s
Tests and linters / Tests with -race (push) Successful in 5m13s
Tests and linters / gopls check (push) Successful in 5m19s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-01-30 15:31:25 +03:00
a788d44773
[ #1570 ] cli: Use array type for attributes parameters
...
DCO action / DCO (pull_request) Successful in 32s
Vulncheck / Vulncheck (pull_request) Failing after 59s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m25s
Build / Build Components (pull_request) Successful in 1m37s
Tests and linters / Run gofumpt (pull_request) Successful in 2m14s
Tests and linters / gopls check (pull_request) Successful in 2m19s
Tests and linters / Staticcheck (pull_request) Successful in 2m39s
Tests and linters / Tests (pull_request) Successful in 3m0s
Tests and linters / Lint (pull_request) Successful in 3m22s
Tests and linters / Tests with -race (pull_request) Successful in 3m51s
Tests and linters / Run gofumpt (push) Successful in 24s
Vulncheck / Vulncheck (push) Failing after 1m8s
Pre-commit hooks / Pre-commit (push) Successful in 1m20s
Build / Build Components (push) Successful in 2m13s
Tests and linters / Staticcheck (push) Successful in 2m26s
Tests and linters / Tests (push) Successful in 3m6s
Tests and linters / Lint (push) Successful in 3m13s
Tests and linters / Tests with -race (push) Successful in 3m23s
Tests and linters / gopls check (push) Successful in 3m47s
OCI image / Build container images (push) Successful in 4m28s
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2025-01-28 11:15:30 +03:00
603015d029
[ #1570 ] cli: Use array type for --range parameter to object hash
...
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2025-01-28 11:15:30 +03:00
c98357606b
[ #1606 ] Use slices.Clone()/bytes.Clone() where possible
...
Tests and linters / Run gofumpt (pull_request) Successful in 28s
DCO action / DCO (pull_request) Successful in 42s
Vulncheck / Vulncheck (pull_request) Successful in 1m0s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m33s
Build / Build Components (pull_request) Successful in 1m46s
Tests and linters / Staticcheck (pull_request) Successful in 2m0s
Tests and linters / Lint (pull_request) Successful in 2m55s
Tests and linters / Tests (pull_request) Successful in 4m17s
Tests and linters / Tests with -race (pull_request) Successful in 5m14s
Tests and linters / gopls check (pull_request) Successful in 5m17s
Tests and linters / Run gofumpt (push) Successful in 27s
Vulncheck / Vulncheck (push) Successful in 51s
Pre-commit hooks / Pre-commit (push) Successful in 1m25s
Build / Build Components (push) Successful in 2m10s
Tests and linters / Staticcheck (push) Successful in 2m25s
Tests and linters / Lint (push) Successful in 3m24s
Tests and linters / Tests (push) Successful in 4m4s
OCI image / Build container images (push) Successful in 4m21s
Tests and linters / Tests with -race (push) Successful in 4m25s
Tests and linters / gopls check (push) Successful in 4m49s
gopatch:
```
@@
var from, to expression
@@
+import "bytes"
-to := make([]byte, len(from))
-copy(to, from)
+to := bytes.Clone(from)
@@
var from, to expression
@@
+import "bytes"
-to = make([]byte, len(from))
-copy(to, from)
+to = bytes.Clone(from)
@@
var from, to, typ expression
@@
+import "slices"
-to := make([]typ, len(from))
-copy(to, from)
+to := slices.Clone(from)
@@
var from, to, typ expression
@@
+import "slices"
-to = make([]typ, len(from))
-copy(to, from)
+to = slices.Clone(from)
```
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-17 14:50:14 +03:00
80de5d70bf
[ #1593 ] node: Fix initialization of ape_chain cache
...
Tests and linters / Run gofumpt (push) Successful in 24s
Vulncheck / Vulncheck (push) Successful in 53s
Pre-commit hooks / Pre-commit (push) Successful in 1m29s
Build / Build Components (push) Successful in 1m54s
Tests and linters / Staticcheck (push) Successful in 2m20s
Tests and linters / Lint (push) Successful in 3m13s
Tests and linters / Tests (push) Successful in 3m49s
Tests and linters / Tests with -race (push) Successful in 4m34s
OCI image / Build container images (push) Successful in 4m43s
Tests and linters / gopls check (push) Successful in 4m37s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-01-17 08:58:47 +00:00
eff95bd632
[ #1598 ] engine: Drop unnecessary result structs
...
DCO action / DCO (pull_request) Successful in 31s
Tests and linters / Run gofumpt (pull_request) Successful in 29s
Vulncheck / Vulncheck (pull_request) Successful in 54s
Build / Build Components (pull_request) Successful in 1m29s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m28s
Tests and linters / gopls check (pull_request) Successful in 2m15s
Tests and linters / Lint (pull_request) Successful in 2m41s
Tests and linters / Staticcheck (pull_request) Successful in 2m49s
Tests and linters / Tests (pull_request) Successful in 3m52s
Tests and linters / Tests with -race (pull_request) Successful in 5m1s
Vulncheck / Vulncheck (push) Successful in 1m5s
Pre-commit hooks / Pre-commit (push) Successful in 1m19s
Build / Build Components (push) Successful in 1m36s
Tests and linters / gopls check (push) Successful in 2m16s
Tests and linters / Run gofumpt (push) Successful in 2m32s
Tests and linters / Staticcheck (push) Successful in 2m49s
Tests and linters / Lint (push) Successful in 3m10s
Tests and linters / Tests (push) Successful in 3m12s
Tests and linters / Tests with -race (push) Successful in 4m15s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-01-14 11:15:21 +03:00
fb928616cc
[ #1598 ] golangci: Enable unparam linter
...
DCO action / DCO (pull_request) Successful in 35s
Vulncheck / Vulncheck (pull_request) Successful in 1m6s
Build / Build Components (pull_request) Successful in 1m45s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m44s
Tests and linters / Staticcheck (pull_request) Successful in 1m59s
Tests and linters / gopls check (pull_request) Successful in 2m19s
Tests and linters / Run gofumpt (pull_request) Successful in 2m35s
Tests and linters / Lint (pull_request) Successful in 2m56s
Tests and linters / Tests with -race (pull_request) Successful in 3m48s
Tests and linters / Tests (pull_request) Successful in 3m58s
To drop unnecessary parameters and return values.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-01-14 09:06:47 +03:00
4d5ae59a52
[ #1598 ] golangci: Enable unconvert linters
...
To drop unnecessary conversions.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2025-01-14 09:06:40 +03:00
09faca034c
[ #1593 ] node: Fix initialization of frostfsid cache
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2025-01-10 15:01:36 +03:00
f7e75b13b0
[ #1506 ] ape_manager: Await tx persist before returning response
...
Tests and linters / Run gofumpt (push) Successful in 28s
Vulncheck / Vulncheck (push) Successful in 57s
Build / Build Components (push) Successful in 1m42s
Pre-commit hooks / Pre-commit (push) Successful in 1m40s
Tests and linters / Staticcheck (push) Successful in 2m4s
Tests and linters / Tests with -race (push) Successful in 2m31s
Tests and linters / Tests (push) Successful in 2m44s
Tests and linters / Lint (push) Successful in 2m51s
Tests and linters / gopls check (push) Successful in 3m30s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-09 12:04:21 +00:00
198aaebc94
[ #1506 ] morph: Simplify WaitTxHalt() signature
...
Avoid dependency on `morph/client` package because of `InvokeRes`.
Make signature resemble `WaitAny()` method of `waiter.Waiter` from neo-go.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-09 12:04:21 +00:00
dc410fca90
[ #1590 ] adm: Accept many accounts in proxy-*
commands
...
Tests and linters / Run gofumpt (push) Successful in 38s
Vulncheck / Vulncheck (push) Successful in 1m9s
Pre-commit hooks / Pre-commit (push) Successful in 1m27s
Tests and linters / Tests (push) Successful in 2m1s
Tests and linters / Staticcheck (push) Successful in 2m19s
Tests and linters / Tests with -race (push) Successful in 2m43s
Tests and linters / gopls check (push) Successful in 2m50s
Tests and linters / Lint (push) Successful in 3m9s
Build / Build Components (push) Successful in 1m25s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-09 07:51:54 +00:00
cddcd73f04
[ #1590 ] adm: Make --account
flag required in proxy-*
commands
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-09 07:51:54 +00:00
c0221d76e6
[ #1577 ] node/container: Fix typo
...
DCO action / DCO (pull_request) Successful in 44s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m52s
Vulncheck / Vulncheck (pull_request) Successful in 1m31s
Tests and linters / Run gofumpt (pull_request) Successful in 1m37s
Build / Build Components (pull_request) Successful in 1m54s
Tests and linters / gopls check (pull_request) Successful in 2m30s
Tests and linters / Staticcheck (pull_request) Successful in 2m21s
Tests and linters / Tests (pull_request) Successful in 2m32s
Tests and linters / Lint (pull_request) Successful in 3m4s
Tests and linters / Tests with -race (pull_request) Successful in 4m17s
Tests and linters / Run gofumpt (push) Successful in 1m25s
Vulncheck / Vulncheck (push) Successful in 1m35s
Pre-commit hooks / Pre-commit (push) Successful in 1m53s
Build / Build Components (push) Successful in 1m56s
Tests and linters / Tests (push) Successful in 2m6s
Tests and linters / Staticcheck (push) Successful in 2m15s
Tests and linters / gopls check (push) Successful in 2m30s
Tests and linters / Tests with -race (push) Successful in 2m44s
Tests and linters / Lint (push) Successful in 3m1s
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-28 12:05:01 +03:00
242f0095d0
[ #1577 ] container: Reduce iterations through container list
...
* Separated iteration through container ids from `ContainersOf()`
so that it could be reused.
* When listing containers we used to iterate through the
the whole list of containers twice: first when reading from
a contract, then when sending them. Now we can send batches
of containers when reading from the contract.
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-12-27 15:30:26 +03:00
ea868e09f8
[ #1582 ] adm: Use int64 type and the default value for --till
flag
...
Vulncheck / Vulncheck (pull_request) Successful in 7m43s
Pre-commit hooks / Pre-commit (pull_request) Successful in 8m36s
Build / Build Components (pull_request) Successful in 9m19s
Tests and linters / gopls check (pull_request) Successful in 9m28s
Tests and linters / Staticcheck (pull_request) Successful in 9m34s
Tests and linters / Lint (pull_request) Successful in 10m34s
DCO action / DCO (pull_request) Successful in 3m9s
Tests and linters / Run gofumpt (pull_request) Successful in 4m5s
Tests and linters / Tests (pull_request) Successful in 4m38s
Tests and linters / Tests with -race (pull_request) Successful in 5m49s
Vulncheck / Vulncheck (push) Successful in 4m14s
Tests and linters / Run gofumpt (push) Successful in 4m35s
Build / Build Components (push) Successful in 5m16s
Pre-commit hooks / Pre-commit (push) Successful in 5m15s
Tests and linters / Staticcheck (push) Successful in 5m36s
Tests and linters / gopls check (push) Successful in 5m45s
Tests and linters / Tests (push) Successful in 6m9s
Tests and linters / Tests with -race (push) Successful in 6m17s
Tests and linters / Lint (push) Successful in 6m32s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-25 14:22:28 +03:00
31d3d299bf
[ #1582 ] adm: Unify promps for reading a password
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-25 14:22:28 +03:00
b5b4f78b49
[ #1582 ] adm: Allow using the default account in deposit-notary
...
It has never worked, actually.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-12-25 14:22:28 +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()
...
Tests and linters / Run gofumpt (push) Successful in 2m33s
Tests and linters / Staticcheck (push) Successful in 3m39s
Tests and linters / Lint (push) Successful in 4m53s
Vulncheck / Vulncheck (push) Successful in 7m22s
Pre-commit hooks / Pre-commit (push) Successful in 7m57s
Tests and linters / Tests (push) Successful in 8m14s
Build / Build Components (push) Successful in 8m22s
Tests and linters / gopls check (push) Successful in 9m0s
Tests and linters / Tests with -race (push) Successful in 9m2s
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
e44b84c18c
[ #1569 ] cli: Remove unnecessary variable after refactoring
...
DCO action / DCO (pull_request) Successful in 3m26s
Vulncheck / Vulncheck (pull_request) Successful in 3m43s
Tests and linters / Run gofumpt (pull_request) Successful in 5m6s
Tests and linters / Staticcheck (pull_request) Successful in 5m45s
Tests and linters / Lint (pull_request) Successful in 6m40s
Build / Build Components (pull_request) Successful in 8m35s
Pre-commit hooks / Pre-commit (pull_request) Successful in 9m13s
Tests and linters / Tests (pull_request) Successful in 10m19s
Tests and linters / Tests with -race (pull_request) Successful in 10m44s
Tests and linters / gopls check (pull_request) Successful in 10m52s
Tests and linters / Run gofumpt (push) Successful in 3m52s
Tests and linters / Staticcheck (push) Successful in 4m3s
Tests and linters / Lint (push) Successful in 5m41s
Vulncheck / Vulncheck (push) Successful in 8m33s
Pre-commit hooks / Pre-commit (push) Successful in 9m29s
Build / Build Components (push) Successful in 9m58s
Tests and linters / Tests (push) Successful in 9m58s
Tests and linters / Tests with -race (push) Successful in 10m20s
Tests and linters / gopls check (push) Successful in 10m56s
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