You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Haiming Zhu (Jira)" <ji...@apache.org> on 2021/08/31 07:22:00 UTC

[jira] [Created] (IOTDB-1598) getWalDirectByteBuffer blocks the whole storage group

Haiming Zhu created IOTDB-1598:
----------------------------------

             Summary: getWalDirectByteBuffer blocks the whole storage group 
                 Key: IOTDB-1598
                 URL: https://issues.apache.org/jira/browse/IOTDB-1598
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Engine
            Reporter: Haiming Zhu
             Fix For: master branch, 0.12.2


getWalDirectByteBuffer method will wait when buffers in walByteBufferPool are insufficient, but the methods call getWalDirectByteBuffer hold the storage groups' write lock, blocking write operations which may close TsFileProcessor and return buffers to walByteBufferPool. This causes the whole storage group unavailable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)