Will there be GC issues when TiKV is not deployed with TiDB?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiKV 不部署 TiDB 的时候,会不会有 GC 问题?

| username: TiDBer_QBsB7GOW

[TiDB Usage Environment] Three machines (1, 2, 3), with TiUP installed on “Machine 1”, and “Machines 2 and 3” deployed as a cluster. Now, “Machine 1” has encountered an unexpected disk issue, and the system has been reinstalled with a new hard drive.
[TiDB Version] v6.5.0
[Reproduction Path]

  1. Using 1 machine
    [Encountered Problem: Phenomenon and Impact]
    The GC issue mentioned in https://mp.weixin.qq.com/s/GrrE-aWtxeANaVirRNzfug
    [Resource Configuration]
| username: xfworld | Original post link

In subsequent versions, JuiceFS has added a mechanism for automatic GC of TiKV.

If you’re still concerned, you can add an additional TiDB node… :upside_down_face:

| username: TiDBer_QBsB7GOW | Original post link

But what I mean is, I’m not using it on JuiceFS. If I deploy it separately and use TiKV with the SDK, there will be no GC, right?

| username: 有猫万事足 | Original post link

The triggering of this GC is a client interface.

As long as you use the official client, just call it directly and you’re done.

| username: xfworld | Original post link

The person above is right, you can also use tikv-cli to handle it manually…

| username: TiDBer_QBsB7GOW | Original post link

Thanks a lot!

| username: redgame | Original post link

Yes, using the official client.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.