Skip to content

[Backport] Fix QueryContext race condition#13281

Merged
kfaraz merged 1 commit intoapache:24.0.1from
clintropolis:backport-13049-to-24.0.1
Oct 29, 2022
Merged

[Backport] Fix QueryContext race condition#13281
kfaraz merged 1 commit intoapache:24.0.1from
clintropolis:backport-13049-to-24.0.1

Conversation

@clintropolis
Copy link
Copy Markdown
Member

Backport of #13049 to 24.0.1.

@kfaraz kfaraz merged commit c778ccb into apache:24.0.1 Oct 29, 2022
connectionId,
statementId,
context,
context.copy(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

a comment might be useful here

@SuppressWarnings("GuardedBy")
final PreparedStatement statement = sqlStatementFactory.preparedStatement(
sqlRequest.withContext(context)
sqlQueryPlus.withContext(context.copy())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same here

@clintropolis clintropolis deleted the backport-13049-to-24.0.1 branch October 27, 2023 18:01
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