kangpinghuang opened a new issue #2665: [Optimization] add close api to rowset
URL: https://github.com/apache/incubator-doris/issues/2665
 
 
   **Is your feature request related to a problem? Please describe.**
   Now singleton rowsets will be reserved for 30min after it is added to unused 
rowset for increment clone. But it will never be used to create rowset reader 
and hold the file handler and index resources in memory, which is costly, 
especially in frequent load situation, which will incur Too Many Open file 
error.
   
   So it is necessary to add a close api to release the resource owned by 
rowset when it it added to unused rowsets queue.
   BTW, some things should be considered are:
   1. the unused rowset may be owned by some readers, we should not release the 
resources before these delayed readers finish reading.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to