anishshri-db opened a new pull request, #50510:
URL: https://github.com/apache/spark/pull/50510

   ### What changes were proposed in this pull request?
   Clear internal maps on close to remove DB open dep in other places
   
   
   ### Why are the changes needed?
   Refactor related change
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Verified that tests failed without db open check and not clearing the 
internal state.
   
   ```
   ===== POSSIBLE THREAD LEAK IN SUITE 
o.a.s.sql.execution.streaming.state.RocksDBSuite, threads: rpc-boss-3-1 
(daemon=true), ForkJoinPool.commonPool-worker-2 (daemon=true), shuffle-boss-6-1 
(daemon=true), ForkJoinPool.commonPool-worker-1 (daemon=true) =====
   [info] Run completed in 11 seconds.
   [info] Total number of tests run: 16
   [info] Suites: completed 1, aborted 0
   [info] Tests: succeeded 16, failed 0, canceled 0, ignored 0, pending 0
   [info] All tests passed.
   ```
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to