tikv / client-go

Go client for TiKV
Apache License 2.0
282 stars 222 forks source link

membuffer: improve ART's code and test coverage #1477

Closed you06 closed 3 weeks ago

you06 commented 1 month ago

ref pingcap/tidb#55287 This PR tries to make the code simplify and increase the test coverage (only some unreachable paths are not covered).

cfzjywxk commented 3 weeks ago

@ekexium PTAL again

ti-chi-bot[bot] commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfzjywxk, ekexium

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tikv/client-go/blob/master/OWNERS)~~ [cfzjywxk,ekexium] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 3 weeks ago

[LGTM Timeline notifier]

Timeline: