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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to