yadavay-amzn opened a new pull request, #16031: URL: https://github.com/apache/iceberg/pull/16031
Fixes #15284 Replace `COMMIT_PROPERTIES.set(ImmutableMap.of())` with `COMMIT_PROPERTIES.remove()` in the `finally` block of `CommitMetadata.withCommitProperties()`. `ThreadLocal.remove()` properly removes the entry from the thread-local map, while `set(emptyMap)` leaves a stale entry that accumulates in long-running executor threads. Added a test verifying the ThreadLocal is null after `withCommitProperties` returns. -- 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]
