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

syncer: region_syncer only sync byte and keys #8057

Open
lhy1024 opened this issue Apr 11, 2024 · 0 comments
Open

syncer: region_syncer only sync byte and keys #8057

lhy1024 opened this issue Apr 11, 2024 · 0 comments
Labels
type/enhancement The issue belongs to an enhancement.

Comments

@lhy1024
Copy link
Contributor

lhy1024 commented Apr 11, 2024

Enhancement Task

pd/pkg/syncer/server.go

Lines 155 to 162 in 8f7999e

regions := &pdpb.SyncRegionResponse{
Header: &pdpb.ResponseHeader{ClusterId: s.server.ClusterID()},
Regions: requests,
StartIndex: startIndex,
RegionStats: stats,
RegionLeaders: leaders,
Buckets: buckets,
}

pd/pkg/core/region.go

Lines 528 to 533 in 8f7999e

return &pdpb.RegionStat{
BytesWritten: r.writtenBytes,
BytesRead: r.readBytes,
KeysWritten: r.writtenKeys,
KeysRead: r.readKeys,
}

it only contains byte and keys and not query

@lhy1024 lhy1024 added the type/enhancement The issue belongs to an enhancement. label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant