Commit a8cecc3
authored
IcebergCatalogAdapter: close underlying catalog consistently (#1224)
With the revert of #b84f4624db8d0bd5b8920b0df719bcc15666008f by #ccf25df7b055e9d232b88a3f6fe8b4e0a2ab035a, we lost an extra benefit that was included in that change: a fix for the fact that IcebergCatalogHandlerWrapper does not always close its underlying `Catalog`, thus relying on `CallContext` to play the role of the "sweep vehicle" and close everything that was left unclosed at the end of the request processing.
This PR re-applies that fix again.1 parent a1e9d8a commit a8cecc3
File tree
3 files changed
+290
-298
lines changed- service/common/src
- main/java/org/apache/polaris/service/catalog/iceberg
- testFixtures/java/org/apache/polaris/service
3 files changed
+290
-298
lines changed
0 commit comments