AutoMQ / automq-for-rocketmq

A cloud native implementation for Apache RocketMQ 5.0
https://www.automq.com
196 stars 34 forks source link

fix: retry to read/write/flush when IOException occurs #933

Closed Chillax-0v0 closed 8 months ago

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (498690b) 55.92% compared to head (2e1e14b) 55.90%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #933 +/- ## ============================================ - Coverage 55.92% 55.90% -0.03% + Complexity 1267 1264 -3 ============================================ Files 133 133 Lines 8534 8534 Branches 789 789 ============================================ - Hits 4773 4771 -2 Misses 3327 3327 - Partials 434 436 +2 ``` | [Components](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | Coverage Δ | | |---|---|---| | [RocketMQ Broker](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `∅ <ø> (∅)` | | | [RocketMQ Common](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `5.80% <ø> (ø)` | | | [RocketMQ Controller](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `57.39% <ø> (ø)` | | | [RocketMQ Proxy](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `37.18% <ø> (-0.11%)` | :arrow_down: | | [RocketMQ Store](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `73.60% <ø> (ø)` | | | [RocketMQ Stream](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `∅ <ø> (∅)` | | | [RocketMQ Metadata](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ) | `35.44% <ø> (ø)` | | [see 1 file with indirect coverage changes](https://app.codecov.io/gh/AutoMQ/automq-for-rocketmq/pull/933/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AutoMQ)
superhx commented 8 months ago

Be careful not to retry the detection operation indefinitely.