yanze chen created IOTDB-5720:
---------------------------------

             Summary: Release processor fail to release memory due to 
writer-preferred starvation
                 Key: IOTDB-5720
                 URL: https://issues.apache.org/jira/browse/IOTDB-5720
             Project: Apache IoTDB
          Issue Type: Bug
            Reporter: yanze chen
            Assignee: yanze chen
         Attachments: image-2023-03-23-15-26-27-207.png

!image-2023-03-23-15-26-27-207.png|width=488,height=155!

[https://apache-iotdb.feishu.cn/docx/WwdAd6SYLofsAHxEJeRcDuWBnPh]

 

The current stampedLock uses a writer-preferred rule, which may lead to extreme 
cases where a waiting write lock request blocks the subsequent release thread 
from acquiring the read lock, resulting in memory not being released. To solve 
this problem, a high priority read lock request interface needs to be 
introduced.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to