Closed zyy17 closed 2 days ago
The update introduces a RemoteCompaction
error variant to handle remote region compaction failures, encapsulating details like region_id
, job_id
, reason
, and location
. Additionally, the location
field in RemoteJobSchedulerError
is made public to facilitate external access.
File | Change Summary |
---|---|
src/mito2/src/error.rs |
Added RemoteCompaction variant to Error enum, modified ErrorExt implementation to handle the new variant. |
src/mito2/src/schedule/... |
Made location field public in RemoteJobSchedulerError struct. |
In code so vast, new errors bloom,
RemoteCompaction tales of gloom,
With region, job, and reasons clear,
And locations now are crystal near.
Compaction's path is smooth and new,
Here's to code—it grew, it flew!
🐇✨
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.69%. Comparing base (
f2c08b8
) to head (7883ffe
). Report is 2 commits behind head on main.
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
The
RemoteCompaction
will use forCompactionJobResult
and sends the notification to Mito.Checklist
Summary by CodeRabbit
New Features
region_id
,job_id
,reason
, andlocation
of the error.Improvements
location
field public in the remote job scheduler errors.