Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Guosmilesmile
Copy link
Contributor

@Guosmilesmile Guosmilesmile commented Apr 26, 2025

In LockRemover, I noticed we missed lockFactory.open() before this.lock = lockFactory.createLock(). This could lead to an NPE since the factory isn't initialized and we have to close lock after (similar to the pool in jdbcFactory).

This pr is aim to add the init of lockFactory when LockRemover init.

@github-actions github-actions bot added the flink label Apr 26, 2025
@pvary pvary merged commit e1ab425 into apache:main Apr 29, 2025
20 checks passed
@pvary pvary changed the title Flink: Add lockFactory open in LockRemover Flink: Add lockFactory open in LockRemover for table maintenance Apr 29, 2025
@Guosmilesmile
Copy link
Contributor Author

@pvary Thanks for the review ! I will prepare the backport to the other version later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants