New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is no GC api for txnkv #74
Comments
We are working on refactoring the client in side tidb project and later will extract it to this repo to provide a more complete client. |
Hi Disksing, is there any update on the refactoring process. |
Now it is moved here (v2 branch). Then GC is available now but we are still working on adding some example. |
Hi @slow-zhang , the GC example is ready https://github.com/tikv/client-go/tree/master/examples/gcworker |
it's ready for prod to use? or till now tidb's code is more proper to use is the code is the same as tidb's client code? |
TiDB is now using client-go/v2 too. We are going to remove duplicated code in TiDB. So it would be better to use client-go. |
Hi @disksing, i try to use GC func but find it hasn't packaged in the released version(V2.0.0-alpha), may I know when will the next version release? |
@Itachi666 you can try |
linked to #287 |
Please check the wiki page https://github.com/tikv/client-go/wiki/Garbage-Collection |
If your cluster uses tikv+pd only, this is one only workaround.
The text was updated successfully, but these errors were encountered: