-
Notifications
You must be signed in to change notification settings - Fork 277
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
sync to 1.2, re-pr: remove the old fast ranges and update metrics #16440
sync to 1.2, re-pr: remove the old fast ranges and update metrics #16440
Conversation
This reverts commit 22c5ec3.
PR Review 🔍
|
@gouhongshen Thanks for your contributions! Here are review comments for file pkg/util/metric/v2/metrics.go: Pull Request Review:Title:The title of the pull request is clear and concise, indicating that the changes are related to syncing to version 1.2 and removing old fast ranges while updating metrics. Body:The body of the pull request provides a structured overview of the changes made, including the type of PR, the related issue, and a description of the changes. It also lists the relevant files that were modified along with a brief summary of the changes made in each file. Changes Made:
Security Concerns:
Suggestions for Optimization:
Overall, the pull request seems to be focused on enhancing performance and maintainability by removing old code and updating metrics. However, it is crucial to ensure that the changes are thoroughly reviewed and tested to avoid any unintended consequences. |
PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##16146
What this PR does / why we need it:
PR Type
Enhancement, Bug fix
Description
Changes walkthrough 📝
grafana_dashboard_txn.go
Update Grafana dashboard metrics for transaction ranges.
pkg/util/metric/v2/dashboard/grafana_dashboard_txn.go
ranges.
metrics.go
Update metrics registry for transaction ranges.
pkg/util/metric/v2/metrics.go
txn.go
Update transaction metrics definitions.
pkg/util/metric/v2/txn.go
filter.go
Enhance logging and metrics for block filtering.
pkg/vm/engine/disttae/filter.go
reader.go
Simplify primary key filter logic in reader.
pkg/vm/engine/disttae/reader.go
txn_table.go
Remove old fast ranges and enhance slow path logging.
pkg/vm/engine/disttae/txn_table.go
util.go
Remove composite primary key handling utilities.
pkg/vm/engine/disttae/util.go
util_test.go
Remove tests for composite primary key handling.
pkg/vm/engine/disttae/util_test.go