-
Notifications
You must be signed in to change notification settings - Fork 270
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
log some filter exprs #17351
log some filter exprs #17351
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #14518
What this PR does / why we need it:
log some slow ranges expr
log some exprs
PR Type
Enhancement
Description
traceFilterExprInterval
to manage logging intervals for filter expressions.Ranges
method to conditionally log filter expressions based on the length of ranges.NewReader
method whenenableLogFilterExpr
is set.enableLogFilterExpr
atomic boolean totxnTable
struct to control logging behavior.Changes walkthrough 📝
txn_table.go
Add conditional logging for filter expressions based on range length
pkg/vm/engine/disttae/txn_table.go
traceFilterExprInterval
to manage logging intervals.length.
Ranges
andNewReader
methods.
types.go
Add atomic boolean for enabling filter expression logging
pkg/vm/engine/disttae/types.go
enableLogFilterExpr
atomic boolean totxnTable
struct.