Caideyipi opened a new pull request, #18057: URL: https://github.com/apache/iotdb/pull/18057
## Description DeletionResourceManager instances are cached by data region id. Closing a manager only closed its buffer and cleared in-memory resources, but left the closed instance in the singleton map. Later tests or callers using the same region id could retrieve the closed manager, fail to persist new deletions, and recover zero deletion resources. This removes the closed manager from the singleton map and adds a regression test that verifies getInstance returns a fresh manager after close. ## Tests - mvn -pl iotdb-core/datanode '-Dtest=DeletionResourceTest#testGetInstanceAfterCloseReturnsFreshManager,DeletionRecoverTest' -DfailIfNoTests=false '-Dcheckstyle.skip=true' '-Dspotless.skip=true' test - mvn -pl iotdb-core/datanode '-Dcheckstyle.skip=true' spotless:apply -- 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]
