Negative metric frostfs_node_writecache_actual_objects_total #725

Closed
opened 2023-10-05 15:34:31 +00:00 by anikeev-yadro · 2 comments
Member

Scenario:

  1. Put some objects to node with writecache enabled
  2. Wait until writecache flushes all objects
  3. Also frostfs_node_writecache_actual_objects_total metric will be negative
service@aanikeev-node2:~$ curl -s localhost:6672 | grep frostfs_node_writecache_actual_objects_total
# HELP frostfs_node_writecache_actual_objects_total Actual objects count in writecache
# TYPE frostfs_node_writecache_actual_objects_total gauge
frostfs_node_writecache_actual_objects_total{shard_id="8paVgKdE2ix2AbdR7a7hDr",storage="db"} 0
frostfs_node_writecache_actual_objects_total{shard_id="8paVgKdE2ix2AbdR7a7hDr",storage="fstree"} 0
frostfs_node_writecache_actual_objects_total{shard_id="MGYeB36WLwUfwaeSWGmuH4",storage="db"} -2
frostfs_node_writecache_actual_objects_total{shard_id="MGYeB36WLwUfwaeSWGmuH4",storage="fstree"} 0


service@aanikeev-node2:~$ frostfs-node --version
FrostFS Storage node
Version: v0.37.0-rc.1-2-g368774be
GoVersion: go1.20.5

Originally posted by @dstepanov-yadro in /TrueCloudLab/frostfs-node/issues/585#issue-1604

Scenario: 1. Put some objects to node with writecache enabled 2. Wait until writecache flushes all objects 3. Also `frostfs_node_writecache_actual_objects_total` metric will be negative ``` service@aanikeev-node2:~$ curl -s localhost:6672 | grep frostfs_node_writecache_actual_objects_total # HELP frostfs_node_writecache_actual_objects_total Actual objects count in writecache # TYPE frostfs_node_writecache_actual_objects_total gauge frostfs_node_writecache_actual_objects_total{shard_id="8paVgKdE2ix2AbdR7a7hDr",storage="db"} 0 frostfs_node_writecache_actual_objects_total{shard_id="8paVgKdE2ix2AbdR7a7hDr",storage="fstree"} 0 frostfs_node_writecache_actual_objects_total{shard_id="MGYeB36WLwUfwaeSWGmuH4",storage="db"} -2 frostfs_node_writecache_actual_objects_total{shard_id="MGYeB36WLwUfwaeSWGmuH4",storage="fstree"} 0 service@aanikeev-node2:~$ frostfs-node --version FrostFS Storage node Version: v0.37.0-rc.1-2-g368774be GoVersion: go1.20.5 ``` _Originally posted by @dstepanov-yadro in /TrueCloudLab/frostfs-node/issues/585#issue-1604_
Author
Member

Version

service@aanikeev-node2:~$ frostfs-node --version
FrostFS Storage node
Version: v0.37.0-rc.1-2-g368774be
GoVersion: go1.20.5
Version ``` service@aanikeev-node2:~$ frostfs-node --version FrostFS Storage node Version: v0.37.0-rc.1-2-g368774be GoVersion: go1.20.5 ```
Author
Member

Reopen #585

Reopen #585
fyrchik added the
bug
frostfs-node
labels 2023-10-06 06:32:39 +00:00
fyrchik added this to the v0.37.0 milestone 2023-10-06 06:33:13 +00:00
dstepanov-yadro was assigned by fyrchik 2023-10-26 07:15:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#725
No description provided.