Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS: close underlying executor for DynamoDb LockManager #10132

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

regadas
Copy link
Contributor

@regadas regadas commented Apr 12, 2024

With the new close method added to BaseLockManager, I noticed that DynamoDbLockManager was not reusing inherited close and, hence, not closing the underlying executor.

It's my first PR here, so let me know if I'm missing some guidelines. Thx.

@github-actions github-actions bot added the AWS label Apr 12, 2024
@regadas regadas changed the title AWS: close underlying Scheduler for DynamoDb LockManager AWS: close underlying executor for DynamoDb LockManager Apr 12, 2024
Copy link
Contributor

@nastra nastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for fixing this

@regadas
Copy link
Contributor Author

regadas commented Apr 15, 2024

@nastra np thanks for taking a look!

@nastra
Copy link
Contributor

nastra commented Apr 15, 2024

I'll wait a bit with merging to give other reviewers a chance to also take a look at this

Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well, Thanks @regadas !

@amogh-jahagirdar
Copy link
Contributor

Good find @regadas ! Yeah seems like we would never cleanup the underlying heartbeat executor before this change. Thanks for fixing, and thanks for the reviews @nastra @singhpk234

@amogh-jahagirdar amogh-jahagirdar merged commit d067677 into apache:main Apr 15, 2024
41 checks passed
sasankpagolu pushed a commit to sasankpagolu/iceberg that referenced this pull request Oct 27, 2024
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.

4 participants