frostfs-node/cmd/frostfs-node
Aleksey Savchuk 4919b6a206
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m14s
Pre-commit hooks / Pre-commit (push) Successful in 1m51s
Build / Build Components (push) Successful in 2m1s
Tests and linters / Run gofumpt (push) Successful in 2m38s
Tests and linters / Tests (push) Successful in 2m53s
Tests and linters / Staticcheck (push) Successful in 3m9s
Tests and linters / Lint (push) Successful in 4m5s
Tests and linters / gopls check (push) Successful in 4m34s
OCI image / Build container images (push) Successful in 4m58s
Tests and linters / Tests with -race (push) Successful in 5m59s
[#1689] node/config: Allow zero max_ops in RPC limits config
The limiter allows zeros for limits, meaning "this operation is
disabled".  However, the config didn't allow zero due to the lack of
distinction between "no value" and "zero" - cast functions read both
`nil` and zero as zero.

Now, the config allows a zero limit. Added tests.

Managing such cases should be easier after #1610.

Change-Id: Ifc840732390b2feb975f230573b34bf479406e05
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-03-21 17:00:40 +03:00
..
config [#1689] node/config: Allow zero max_ops in RPC limits config 2025-03-21 17:00:40 +03:00
accounting.go [#1486] node: Introduce dual service support 2024-11-12 08:43:47 +00:00
apemanager.go [#1506] ape_manager: Await tx persist before returning response 2025-01-09 12:04:21 +00:00
attributes.go Rename package name 2023-03-07 16:38:26 +03:00
cache.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
cache_test.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
closer.go [#1868] Reload config for pprof and metrics on SIGHUP 2023-02-20 13:53:27 +03:00
config.go [#1619] logger: Simplify logger config reloading 2025-03-21 09:03:54 +00:00
container.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
control.go [#1608] qos: Add client grpc interceptors 2025-02-07 15:43:04 +03:00
frostfsid.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
grpc.go [#1658] node: Validate RPC limiter configuration 2025-02-28 16:31:47 +03:00
httpcomponent.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
keyspaceiterator.go [#1129] policer: Add EC chunk replication 2024-05-16 16:28:48 +03:00
main.go [#1658] node: Simplify RPC limiter initialization 2025-02-28 16:24:33 +03:00
metrics.go [#412] node: Replace metrics package 2023-06-01 13:23:11 +00:00
morph.go [#1506] morph: Simplify WaitTxHalt() signature 2025-01-09 12:04:21 +00:00
netmap.go [#1613] morph: Add tracing for morph queries to neo-go 2025-02-05 16:38:20 +03:00
object.go [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
policy_engine.go [#1388] apeSvc: Drop unused and make annotations 2024-09-25 08:55:38 +00:00
pprof.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
qos.go [#1653] qos: Fix logging 2025-03-11 10:57:47 +00:00
runtime.go [#1437] node: Fix contextcheck linter 2024-11-13 10:36:10 +03:00
session.go [#1437] ir: Fix contextcheck linters 2024-11-13 10:36:10 +03:00
tracing.go [#1437] node: Use ctx for logging 2024-11-13 10:36:07 +03:00
tree.go [#1608] tree: Add IO tag for tree sync requests 2025-02-07 15:43:06 +03:00
validate.go [#736] logger: Add journald support 2024-02-12 06:17:22 +00:00
validate_test.go [#125] cmd: Refactor internal/common/viper 2023-04-26 13:53:51 +03:00
worker.go [#873] node: Start metrics and pprof as soon as possible 2023-12-21 15:09:51 +00:00