cockroachdb / cockroachdb/pebble

tool: compaction log tool should be DB re-open aware

Open
#1,768 4 comments 0 reactions 0 assignees View on GitHub
C-bug E-quick-win no-issue-activity
Dominant language
Go
Stars
6k
Forks
584
Avg merge
16h 35m
Merged PRs (30d)
5

Description

Consider the case where a `JOB` is printed in the logs with a relatively low job ID. If the the DB is restarted, the job ID counter is reset, which can result in IDs repeating themselves in the logs. This can throw off the tool, for example, by thinking that a compaction took longer than it really did.

Ideally, the tool would be "re-open aware", and would not attempt to combine jobs from either side of the boundary.

Jira issue: PEBBLE-93

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.