Skip to content

Check region epoch before updating the region approximate size #448

@niebayes

Description

@niebayes

When a peer receives a MsgTypeRegionApproximateSize message from the split checker, it simply updates its cached ApproximateSize without any checking.
The region might be recently split when the peer receives this message. On this occasion, the update seems wrong.
I wonder if the checking for region epoch is necessary before the update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions