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

HirakAri shutdown in Refresh endpoint #1198

Open
manochitra opened this issue Jan 18, 2023 · 0 comments
Open

HirakAri shutdown in Refresh endpoint #1198

manochitra opened this issue Jan 18, 2023 · 0 comments

Comments

@manochitra
Copy link

Describe the bug
We are using spring boot 2.7.0 , spring batch 4.3.6 and hikari 4.0.3 .

Our batch application is used to migrate data from ORACLE DB to POSTGRES DB and we are using @Refreshscope to update both DB credentials.

So when ever the refresh endpoint invoked , Hikari is shutting down even then batch job is in progress .

I tried various work around 1. Graceful Shutdown 2. refreshable property , but nothing seems to be working.

Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.

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

No branches or pull requests

2 participants