Liuxuxin created IOTDB-2074:
-------------------------------

             Summary: Fix NullPointerException when recovering compaction in 
MacOS
                 Key: IOTDB-2074
                 URL: https://issues.apache.org/jira/browse/IOTDB-2074
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: Liuxuxin
            Assignee: Liuxuxin
             Fix For: 0.13.0
         Attachments: image-2021-11-30-09-00-54-672.png

## Description
When restarting IoTDB in MacOS, NullPointerException occurs and storage group 
failed to recover. 
!image-2021-11-30-09-00-54-672.png! 
## Cause
In MacOS, each directory contains a `.DS_store` file. When recovering 
compaction, IoTDB will search compaction log in each data directory, and it 
will treat .DS_store as a folder by mistake, which leads to NullPointException.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to