cli: debug zip truncates rangelog and event data at 1000 entries #73021
Labels
A-debug-automation
Issues or feature requests for debug automation
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-observability
Projects
When
cockroach debug zip
retrieves data via the admin APIs, it does not specify a per-request limit:cockroach/pkg/cli/zip_cluster_wide.go
Lines 38 to 69 in 49b57e3
This causes it to apply a default limit of 1000 entries for the
Events
andRangeLog
endpoints (which ends up inrangelog.json
andevents.json
).cockroach/pkg/server/admin.go
Line 75 in f085778
This is problematic, since e.g. the rangelog may often contain older data of interest.
debug zip
should paginate in order to include older data.Jira issue: CRDB-11387
The text was updated successfully, but these errors were encountered: