client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

TiKV version compatibility check

Open ekexium opened this issue 4 years ago • 5 comments

Some features require specific TiKV versions. The client should support older versions of TiKV as it evolves.

TiKV versions can be retrived from PD by get_all_stores.

ekexium avatar May 10 '21 08:05 ekexium

I'd like to take this up if its free

123vivekr avatar Jan 07 '22 16:01 123vivekr

@123vivekr That's great! Please take it up

ekexium avatar Jan 09 '22 07:01 ekexium

@ekexium I'm a bit lost. Could you give me a few pointers on where I should look into?

123vivekr avatar Jan 20 '22 07:01 123vivekr

I understood the client must check for the TiKV version and the version can be fetched from get_all_stores but not sure when to check compatibility and how to check it for different features.

123vivekr avatar Jan 20 '22 07:01 123vivekr

You can start with the "async commit" and 1pc feature. Both are supported since tikv 5.0. Once we find a proper pattern to do it, next steps may be the "raw coprocessor" and the "raw TTL" features.

ekexium avatar Jan 20 '22 07:01 ekexium