LompleZ commented on code in PR #64224:
URL: https://github.com/apache/doris/pull/64224#discussion_r3387408912
##########
fs_brokers/apache_hdfs_broker/src/main/java/org/apache/doris/broker/hdfs/ClientContextManager.java:
##########
@@ -128,38 +130,20 @@ public synchronized void removeOutputStream(TBrokerFD fd)
{
BrokerOutputStream brokerOutputStream =
clientContext.outputStreams.remove(fd);
try {
if (brokerOutputStream != null) {
+ brokerOutputStream.brokerFileSystem.decrementActiveStreams();
brokerOutputStream.outputStream.close();
}
} catch (Exception e) {
logger.error("errors while close file data output stream", e);
}
}
- public synchronized void remoteExpireInputStreams() {
- int inputStreamExpireSeconds =
BrokerConfig.input_stream_expire_seconds;
Review Comment:
done
I have fixed the issue. An expiration-based forced eviction strategy has
been added inside the recycle bin cleanup thread.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]