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

Cannot delete a datasource if the source on the connection string does not exists #2152

Closed
ttemnikova opened this issue Nov 7, 2022 · 0 comments · Fixed by #2156
Closed
Labels
Milestone

Comments

@ttemnikova
Copy link

Expected behavior

The data source deletes from Atlas

Actual behavior

Atlas tries to connect the source on the connection string, but the connection cannot be establish, and the transaction is rolled back

Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](700100) Connection timeout expired. Details: None. at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:393) at org.ohdsi.webapi.util.CancelableJdbcTemplate.batchUpdate(CancelableJdbcTemplate.java:111) at org.ohdsi.webapi.generationcache.CohortGenerationCacheProvider.remove(CohortGenerationCacheProvider.java:94)

Steps to reproduce behavior

  1. There is a data source in Atlas with cashes inside
  2. The source on the connection string of the data source invalidates
  3. Admin user in Atlas tries to delete the data source
@konstjar konstjar added this to the v2.12.1 milestone Nov 7, 2022
ssuvorov-fls pushed a commit that referenced this issue Nov 9, 2022
…es not exists #2152  (#2156)

* Cannot delete a datasource if the source on the connection string does not exists #2152

* Cannot delete a datasource if the source on the connection string does not exists #2152 - cleanup
anton-abushkevich added a commit that referenced this issue Dec 13, 2022
…es not exists #2152  (#2156)

* Cannot delete a datasource if the source on the connection string does not exists #2152

* Cannot delete a datasource if the source on the connection string does not exists #2152 - cleanup

(cherry picked from commit e79e04f)
ssuvorov-fls pushed a commit that referenced this issue Jan 20, 2023
…es not exists #2152  (#2156)

* Cannot delete a datasource if the source on the connection string does not exists #2152

* Cannot delete a datasource if the source on the connection string does not exists #2152 - cleanup

(cherry picked from commit e79e04f)
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 a pull request may close this issue.

3 participants