xumanbu opened a new issue, #675:
URL: https://github.com/apache/incubator-uniffle/issues/675

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
    LocalStorageChecker checker storage can't be write when storage disk full 
LocalStorageChecker checker storage unhealthy,and mark storage is corrupted. 
the storage can not be used never, although the disk space release in future.
    
   
[https://github.com/apache/incubator-uniffle/blob/master/server/src/main/java/org/apache/uniffle/server/LocalStorageChecker.java](url)
   
   ```    for (StorageInfo storageInfo : storageInfos) {
         if (!storageInfo.checkStorageReadAndWrite()) {
           storageInfo.markCorrupted();
           corruptedDirs++;
           continue;
         }
   ```
   
   fix code may like blew :
   ```    for (StorageInfo storageInfo : storageInfos) {
         if (!storageInfo.checkStorageReadAndWrite()) {
           storageInfo.markCorrupted(true);
           corruptedDirs++;
           continue;
         }else{
           storageInfo.markCorrupted(false);
         }```
   
   ### Affects Version(s)
   
   master
   
   ### Uniffle Server Log Output
   
   _No response_
   
   ### Uniffle Engine Log Output
   
   _No response_
   
   ### Uniffle Server Configurations
   
   _No response_
   
   ### Uniffle Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
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: dev-unsubscr...@uniffle.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to