Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ystaticy committed Sep 20, 2024
1 parent 1eb7445 commit 38df077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0113-keyspace-level-gc.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ In GC process, it parses the keyspace id from the data key, use the keyspace met

1. Get [keyspace meta](https://github.com/pingcap/kvproto/blob/d9297553c9009f569eaf4350f68a908f7811ee55/proto/keyspacepb.proto#L26C1-L33C2) and keyspace level GC safe point from PD:
- Create a keyspace meta watch service: Watch keyspace meta etcd path to get the keyspace meta and put it in the mapping from keyspace id to keyspace meta.
- Create a keyspace level gc watch service : Watch the etcd path of the keyspace GC safe point to get the GC safe point with keyspace level GC enabled, put it in the mapping from keyspace id to keyspace level gc.
- Create a keyspace level GC watch service: Watch the corresponding etcd path to get the GC safe point of keyspace, put it in the mapping from keyspace id to keyspace level GC safe point.

2. How to get GC safe point by mvcc key in Compaction Filter:
![img.png](../media/keyspace-level-gc-get-gc-safe-point.png)
Expand Down

0 comments on commit 38df077

Please sign in to comment.