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

Ignore Explain Plan Queries (PAYINP-2326) #43

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

mscott-tw
Copy link
Contributor

Context

Configure the default table access statistics to ignore explain plan queries, via the default query parser interceptor.

Explain plan queries don't really access the tables, so there shouldn't really be a need to include these queries in the statistics. Additionally, JSQLParser fails to parse them, which causes warnings to be emitted in services using the library.

Example warnings about parsing failures:

https://app.rollbar.com/a/Wise/fix/item/payin-service/42591
https://app.rollbar.com/a/Wise/fix/item/payin-service/42590

Checklist

Configure the default table access statistics to ignore explain plan queries, via the default query parser interceptor.

Explain plan queries don't really access the tables, so there shouldn't really be a need to include these queries in the statistics. Additionally, JSQLParser fails to parse them, which causes warnings to be emitted in services using the library.
@mscott-tw mscott-tw requested a review from a team as a code owner February 14, 2024 15:17
@onukristo
Copy link
Contributor

/wise-bot emergency-merge sboms system is broken and getting fixed, meanwhile this is only way to merge.

@wise-github-bot-app wise-github-bot-app bot added the change:emergency Change made as part of a declared incident label Feb 14, 2024
@wise-github-bot-app
Copy link

🟢

Emergency merge requested by onukristo.

This event has been added to the security log. The merge could take few seconds...

Remember that, once it is merged, a maintainer should review the code and approve it retrospectively by commenting /wise-bot approve within 14 days to avoid an SLA breach.

Requester onukristo
Reason sboms system is broken and getting fixed, meanwhile this is only way to merge.
Merge Method squash

@tw-census tw-census merged commit 440ce6b into master Feb 14, 2024
18 checks passed
@mscott-tw mscott-tw deleted the PAYINP-2326_ignore_explain_plan_queries branch February 15, 2024 08:12
@ajmalab
Copy link

ajmalab commented Feb 20, 2024

/wise-bot approve

@wise-github-bot-app
Copy link

Approved by ajmalab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:approved change:emergency Change made as part of a declared incident
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants