@zz-jason client-c
is not recommended in production. The write part(i.e. 2PC, async commit) is implemented only on purpose of testing, and has never been used in production at all(TiFlash will never write any data through client-c
itself).
We’d like to deprecate client-c
and replace it with client-cpp
(wrapper of rust-client) in future. The reason for this decision is that the TiKV client client-c
is maintained by TiFlash team, which is the fact that doesn’t make sense.
IMO, it’s better to let professionals maintain all TiKV client. We can refer to gRPC’s cross language implementation, that is providing a highly abstract c-core so that community can easily implement gRPC with their language by wrapping instead of developing it from scratch.