You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/06/24 12:58:28 UTC

[GitHub] [iotdb] MarcosZyk opened a new pull request, #6428: [IOTDB-3260] Fix npe while concurrent delete storage group

MarcosZyk opened a new pull request, #6428:
URL: https://github.com/apache/iotdb/pull/6428

   ## Description
   
   
   ### NPE Cause
   
   When executing predelete and delete sg on partitionInfo, the target storageGroupPartitionTable will be taken from a concurrentHashMap. If the deletion is executed concurrently, the taken table may be null since there may be some thread else delete the table, which may results in NPE if there's no check.
   
   ### Solution
   Before invoke any interface of storageGroupPartitionTable taken from the map, check whether the table is null.
   
   
   


-- 
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


[GitHub] [iotdb] MarcosZyk merged pull request #6428: [IOTDB-3260] Fix npe while concurrent delete storage group

Posted by GitBox <gi...@apache.org>.
MarcosZyk merged PR #6428:
URL: https://github.com/apache/iotdb/pull/6428


-- 
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