frostfs-node/pkg/local_object_storage/engine
Ekaterina Lebedeva d5194ab2a6 [#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
..
container.go [#373] metabase: Add metrics 2023-06-21 15:13:26 +03:00
control.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
control_test.go [#918] engine: Move shard to degraded mode if metabase open failed 2024-01-23 11:16:40 +03:00
delete.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
delete_test.go [#1016] frostfs-node: Fix gopls issues 2024-03-01 12:13:43 +03:00
engine.go Revert "[#446] engine: Move to read-only on blobstor errors" 2024-04-01 12:48:30 +03:00
engine_test.go [#874] engine: Revert Check object existance concurrently 2024-04-01 08:42:34 +00:00
error_test.go Revert "[#446] engine: Move to read-only on blobstor errors" 2024-04-01 12:48:30 +03:00
evacuate.go [#1043] control: Add ResetEvacuationStatus implementation 2024-03-13 10:29:45 +00:00
evacuate_limiter.go [#1043] control: Add ResetEvacuationStatus implementation 2024-03-13 10:29:45 +00:00
evacuate_test.go [#1043] control: Add ResetEvacuationStatus implementation 2024-03-13 10:29:45 +00:00
exists.go [#874] engine: Revert Check object existance concurrently 2024-04-01 08:42:34 +00:00
get.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
head.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
head_test.go [#1016] frostfs-node: Fix gopls issues 2024-03-01 12:13:43 +03:00
info.go Rename package name 2023-03-07 16:38:26 +03:00
inhume.go [#938] engine: Fix container count removal 2024-01-30 12:37:48 +03:00
inhume_test.go [#1016] frostfs-node: Fix gopls issues 2024-03-01 12:13:43 +03:00
list.go Revert "[#972] Use min/max builtins" 2024-02-19 15:36:01 +00:00
list_test.go Revert "[#972] Use require.ElementsMatch() where possible" 2024-02-19 15:36:01 +00:00
lock.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
lock_test.go [#930] gc: Stop internal activity by context 2024-01-31 08:30:34 +00:00
metrics.go [#948] metrics: Set actual value for shard_id after restart 2024-02-13 09:43:21 +03:00
put.go [#874] engine: Revert Check object existance concurrently 2024-04-01 08:42:34 +00:00
range.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
rebuild_limiter.go [#661] blobovniczatree: Make Rebuild concurrent 2023-12-07 15:37:33 +03:00
remove_copies.go [#1005] engine: Drop shards weights 2024-02-26 17:25:05 +03:00
remove_copies_test.go [#1005] engine: Drop shards weights 2024-02-26 17:25:05 +03:00
select.go [#496] node: Fix linter importas 2023-07-06 15:36:41 +03:00
shards.go [#949] metabase: fix shard.UpdateID() 2024-04-01 17:27:34 +03:00
shards_test.go [#1005] engine: Drop shards weights 2024-02-26 17:25:05 +03:00
tree.go [#1059] services/tree: Fast sorted listing 2024-04-01 12:37:34 +00:00
tree_test.go [#920] tests: Fix data races 2024-01-19 14:06:05 +03:00
writecache.go [#948] metrics: Set actual value for shard_id after restart 2024-02-13 09:43:21 +03:00