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

[hotfix] Use try-with-resource way to fix the potential InfluxDB connection leak in DataExplorerQueryV4#executeQuery #1350

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

SteveYurongSu
Copy link
Member

Purpose

  1. Use try-with-resource way to fix the potential InfluxDB connection leak in DataExplorerQueryV4#executeQuery
  2. Remove the unused executeQuery method in DataExplorerQueryV4
  3. Use LOG.isDebugEnabled() before logging to avoid performance issues

Remarks

PR introduces (a) breaking change(s): <yes/no>
no

PR introduces (a) deprecation(s): <yes/no>
no

@github-actions github-actions bot added backend Everything that is related to the StreamPipes backend java Pull requests that update Java code labels Feb 25, 2023
@bossenti bossenti added this to the 1.0.0 milestone Feb 27, 2023
@bossenti bossenti merged commit 44017e0 into apache:dev Feb 27, 2023
@SteveYurongSu SteveYurongSu deleted the hotfix-connection-leak branch February 28, 2023 01:02
@bossenti bossenti modified the milestones: 1.0.0, 0.92.0 May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Everything that is related to the StreamPipes backend java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants