client-go/txnkv
ekexium aa8b33873f
Let memdb cache last traversed node (#1389)
* opt: let memdb cache last traversed node

Signed-off-by: ekexium <eke@fastmail.com>

* add a switch

Signed-off-by: ekexium <eke@fastmail.com>

* use atomic pointer

Signed-off-by: ekexium <eke@fastmail.com>

* fix: invalidate cache if the node is deleted

Signed-off-by: ekexium <eke@fastmail.com>

* feat: log flush_wait_duration (#1391)

Signed-off-by: ekexium <eke@fastmail.com>

* feat: add cache metrics

Signed-off-by: ekexium <eke@fastmail.com>

* opt: parent node tracking in traverse

Signed-off-by: ekexium <eke@fastmail.com>

* opt: isNull

Signed-off-by: ekexium <eke@fastmail.com>

* log: silence verbose failpoint log

Signed-off-by: ekexium <eke@fastmail.com>

* metrics: track traverse duration

Signed-off-by: ekexium <eke@fastmail.com>

* Revert "metrics: track traverse duration"

This reverts commit 05fc82bad51711c5f0fadf7936e118ed2c4990ab.

Signed-off-by: ekexium <eke@fastmail.com>

* fix: flush wait

Signed-off-by: ekexium <eke@fastmail.com>

* fix: duration logs

Signed-off-by: ekexium <eke@fastmail.com>

* refine log message

Signed-off-by: ekexium <eke@fastmail.com>

---------

Signed-off-by: ekexium <eke@fastmail.com>
Co-authored-by: cfzjywxk <lsswxrxr@163.com>
2024-08-08 17:20:52 +08:00
..
rangetask log: log the resolve progress of pipelined-dml every 30s (#1291) 2024-04-18 15:51:40 +08:00
transaction Let memdb cache last traversed node (#1389) 2024-08-08 17:20:52 +08:00
txnlock txn: use region pessimsitic lock rollback to speed up cleanup (#1125) 2024-01-31 09:53:00 +08:00
txnsnapshot improve region request log for diagnose (#1300) 2024-04-29 15:56:32 +08:00
txnutil fix license (#267) 2021-08-15 01:48:01 +08:00
client.go support gc v2 (#1180) 2024-02-27 11:44:28 +08:00
lock_export.go fix license (#267) 2021-08-15 01:48:01 +08:00
snapshot_export.go add replica read adjuster function in KVSnapshot (#540) 2022-07-07 17:12:24 +08:00
transaction_export.go *: remove the support of `amend transaction` (#635) 2023-01-09 16:30:27 +08:00
util_export.go fix license (#267) 2021-08-15 01:48:01 +08:00