-
Notifications
You must be signed in to change notification settings - Fork 0
treedb: improve live vlog maintenance observability #856
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
bcac5d1
9ce5339
bf11ec9
c83e2d6
31fbb0a
7cc50d6
0035557
0dd0b18
17a907e
b8d9186
29ec371
aebe803
bcfc7ad
da497ab
c200756
3b30044
8c101d6
0466222
6ee065b
fa183f0
d7dca39
e6f54aa
0813e22
d0898f7
60c1639
c07a887
7693898
431d323
f587805
4a959bb
e7dd2a3
e7ef338
a9e6fc3
8e9a018
8806b4e
db46ff7
6cc124c
71be1df
4915591
27e7fe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -139,6 +139,8 @@ func selectTreeDBExpvarStats(stats map[string]string) map[string]any { | |
| strings.HasPrefix(k, "treedb.cache.vlog_payload_split.") || | ||
| strings.HasPrefix(k, "treedb.cache.vlog_auto.") || | ||
| strings.HasPrefix(k, "treedb.cache.vlog_dict.") || | ||
| strings.HasPrefix(k, "treedb.cache.vlog_generation.") || | ||
| strings.HasPrefix(k, "treedb.cache.vlog_retained_prune.") || | ||
| strings.HasPrefix(k, "treedb.cache.vlog_payload_kind.") || | ||
|
Comment on lines
141
to
144
|
||
| strings.HasPrefix(k, "treedb.cache.vlog_outer_leaf_codec.") || | ||
| strings.HasPrefix(k, "treedb.cache.batch_arena.") { | ||
|
Comment on lines
139
to
146
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit adds
treedb.cache.vlog_zombie.*counters inDB.Stats()(used by the new maintenance analyzer), butselectTreeDBExpvarStatsstill whitelists onlyvlog_generationandvlog_retained_prunefamilies here. In environments that consume diagnostics via this expvar filter (the default run-celestia path), zombie metrics are dropped and the analyzer’s zombie inventory fields read as zero, masking pinned-zombie buildup and skewing reclaim diagnostics.Useful? React with 👍 / 👎.