Skip to content
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

[Enhancement] Improve Compaction Profiling and Logging #41753

Open
2 of 3 tasks
Yukang-Lian opened this issue Oct 12, 2024 · 1 comment · May be fixed by #41903
Open
2 of 3 tasks

[Enhancement] Improve Compaction Profiling and Logging #41753

Yukang-Lian opened this issue Oct 12, 2024 · 1 comment · May be fixed by #41903
Assignees

Comments

@Yukang-Lian
Copy link
Collaborator

Search before asking

  • I had searched in the issues and found no similar issues.

Description

We propose several improvements to the compaction process, focusing on better profiling, logging, and error reporting. Below are the specific tasks:

  1. Add compaction profiling:

    • Profile the I/O and CPU time during compaction.
    • Reflect the data volume read from and written to cache/S3 during compaction.
  2. Enhance compaction status with cumulative error codes:

    • Add cumulative status error codes to track errors that occur during compaction more effectively.
  3. Add detailed parameters to compaction status:

    • Provide detailed information about recent compaction scheduling, including specific data about the last few compactions.
  4. Add logging at the compaction scheduling phase:

    • Improve logging at the compaction scheduling stage to make it easier to troubleshoot issues.
  5. Track progress for large compactions:

    • Add progress tracking for large-scale compactions to monitor their status.
  6. Optimize compaction logs:

    • Reduce unnecessary warning logs in both cloud and community environments to avoid log clutter.

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Yoruet
Copy link
Contributor

Yoruet commented Oct 12, 2024

I want to try it,plz assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants