client-go/internal/unionstore
ekexium 79a0fc59e4
Add a callback when MemDB grows (#520)
* implement the footprint chagne hook

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

* simplify the signature

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

* also call the callback when arena shrinks

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

* also callback on reset

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

Co-authored-by: disksing <i@disksing.com>
2022-06-30 15:19:23 +08:00
..
main_test.go fix license (#267) 2021-08-15 01:48:01 +08:00
memdb.go Add a callback when MemDB grows (#520) 2022-06-30 15:19:23 +08:00
memdb_arena.go Add a callback when MemDB grows (#520) 2022-06-30 15:19:23 +08:00
memdb_bench_test.go fix license (#267) 2021-08-15 01:48:01 +08:00
memdb_iterator.go fix license (#267) 2021-08-15 01:48:01 +08:00
memdb_norace_test.go fix data race and panic when exiting (#396) 2021-12-23 14:21:59 +08:00
memdb_snapshot.go unionstore: add checkpoint API to support TiDB savepoint feature (#490) 2022-05-30 13:58:57 +08:00
memdb_test.go Add an RemoveFromBuffer method for test (#387) 2021-11-30 19:43:54 +08:00
mock.go fix license (#267) 2021-08-15 01:48:01 +08:00
union_iter.go fix license (#267) 2021-08-15 01:48:01 +08:00
union_store.go fix license (#267) 2021-08-15 01:48:01 +08:00
union_store_test.go fix license (#267) 2021-08-15 01:48:01 +08:00