frostfs-node/pkg/local_object_storage/shard
Ekaterina Lebedeva d5194ab2a6
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 1m20s
DCO action / DCO (pull_request) Successful in 1m59s
Build / Build Components (1.21) (pull_request) Successful in 3m25s
Build / Build Components (1.20) (pull_request) Successful in 4m46s
Tests and linters / Staticcheck (pull_request) Successful in 6m5s
Tests and linters / gopls check (pull_request) Successful in 6m17s
Tests and linters / Lint (pull_request) Successful in 7m7s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m38s
Tests and linters / Tests with -race (pull_request) Successful in 8m51s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m56s
[#949] metabase: fix shard.UpdateID()
metabase.Open() now reports metabase mode metric. shard.UpdateID()
needs to read shard ID from metabase => needs to open metabase.
It caused reporting 'shard undefined' metrics. To avoid reporting
wrong metrics metabase.GetShardID() was added which also opens
metabase and does not report metrics.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-04-01 17:27:34 +03:00
..
mode [#453] engine: Set Disabled mode to deleted shard 2023-06-20 12:04:07 +03:00
container.go [#864] engine: Drop container count metric if container removed 2024-01-10 10:45:32 +03:00
control.go [#959] shard: Skip rebuild in DEGRADED mode 2024-02-14 15:39:28 +03:00
control_test.go [#970] fstree: Handle unsupported O_TMPFILE 2024-02-09 16:12:11 +00:00
count.go [#838] metabase: Add user object type counter 2023-12-06 15:44:21 +03:00
delete.go [#864] metabase: Refactor delete/inhume 2024-01-09 09:59:42 +03:00
delete_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
errors.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
exists.go [#874] engine: Revert Check object existance concurrently 2024-04-01 08:42:34 +00:00
gc.go Revert "[#972] Use min/max builtins" 2024-02-19 15:36:01 +00:00
gc_internal_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
gc_test.go [#634] shard: Add writecache inhume tests 2024-03-06 13:12:34 +03:00
get.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
get_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
head.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00
head_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
id.go [#949] metabase: fix shard.UpdateID() 2024-04-01 17:27:34 +03:00
info.go [#1005] engine: Drop shards weights 2024-02-26 17:25:05 +03:00
inhume.go [#864] metabase: Refactor delete/inhume 2024-01-09 09:59:42 +03:00
inhume_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
list.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
list_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
lock.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00
lock_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
metrics_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
mode.go [#453] engine: Set Disabled mode to deleted shard 2023-06-20 12:04:07 +03:00
put.go [#904] metabase: Return if object was actuall inserted 2024-01-17 19:04:39 +03:00
range.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
range_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
rebuild_limiter.go [#661] blobovniczatree: Make Rebuild concurrent 2023-12-07 15:37:33 +03:00
rebuilder.go [#661] blobovniczatree: Make Rebuild concurrent 2023-12-07 15:37:33 +03:00
reload_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
select.go [#496] node: Fix linter importas 2023-07-06 15:36:41 +03:00
shard.go [#973] node: Resolve revive: unused-parameter linter 2024-03-11 17:11:49 +03:00
shard_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
shutdown_test.go [#895] test: Use t.Cleanup only for external resources 2024-01-11 12:32:09 +00:00
tree.go [#1059] services/tree: Fast sorted listing 2024-04-01 12:37:34 +00:00
writecache.go [#569] cli: Add control shards writecache seal command 2023-12-29 16:05:37 +03:00