You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "shuwenwei (via GitHub)" <gi...@apache.org> on 2026/09/02 10:37:21 UTC
[PR] Extend suspicious disk exception recording to SyncFailedException and disk-error IOExceptions [iotdb]
shuwenwei opened a new pull request, #18572:
URL: https://github.com/apache/iotdb/pull/18572
DataNodeExceptionMetrics currently counts only exact FileSystemException in the cause chain. Real disk failures often surface as SyncFailedException (fsync on old IO) or as plain IOException carrying the errno text from reads/writes/force on already-open channels, so they were missed.
Changes:
- recognize SyncFailedException by type (its message is fixed to "Sync failed" without errno text)
- recognize IOException whose message contains well-known disk-error errno text: Input/output error, No space left on device, Read-only file system, Structure needs cleaning, No such device or address, Disk quota exceeded
- keep excluding FileSystemException subclasses (NoSuchFileException, AccessDeniedException, ...) which usually indicate logical file-state errors
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Extend suspicious disk exception recording to SyncFailedException and disk-error IOExceptions [iotdb]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #18572:
URL: https://github.com/apache/iotdb/pull/18572#issuecomment-5508818870
## [Codecov](https://app.codecov.io/gh/apache/iotdb/pull/18572?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `86.66667%` with `2 lines` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 42.33%. Comparing base ([`d21169f`](https://app.codecov.io/gh/apache/iotdb/commit/d21169f10fbceddbf68bcbfefa9e8fb5ef5f6191?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`298191e`](https://app.codecov.io/gh/apache/iotdb/commit/298191eeb78282d0b89e99c3441358283111bbf1?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 2 commits behind head on master.
| [Files with missing lines](https://app.codecov.io/gh/apache/iotdb/pull/18572?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...b/db/service/metrics/DataNodeExceptionMetrics.java](https://app.codecov.io/gh/apache/iotdb/pull/18572?src=pr&el=tree&filepath=iotdb-core%2Fdatanode%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fiotdb%2Fdb%2Fservice%2Fmetrics%2FDataNodeExceptionMetrics.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-aW90ZGItY29yZS9kYXRhbm9kZS9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvaW90ZGIvZGIvc2VydmljZS9tZXRyaWNzL0RhdGFOb2RlRXhjZXB0aW9uTWV0cmljcy5qYXZh) | 86.66% | [2 Missing :warning: ](https://app.codecov.io/gh/apache/iotdb/pull/18572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #18572 +/- ##
============================================
+ Coverage 42.19% 42.33% +0.14%
Complexity 414 414
============================================
Files 5411 5415 +4
Lines 390362 390725 +363
Branches 51116 51182 +66
============================================
+ Hits 164698 165417 +719
+ Misses 225664 225308 -356
```
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/iotdb/pull/18572?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Extend suspicious disk exception recording to SyncFailedException and disk-error IOExceptions [iotdb]
Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 merged PR #18572:
URL: https://github.com/apache/iotdb/pull/18572
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org