add compatibility tests in CI
Feature Request
Is your feature request related to a problem? Please describe:
For now, our master is suffering from a forward-compatibility issue, we can't access TiKV older than v5.3.0 with normal KV API like RawBatchPut. We don't have a proper manner to detect such issues while merging pull requests.
Describe the feature you'd like:
For now, to run tests with a specific TiKV version, you can run tests by /run-all-tests tikv = release-5.0.
However, it is better to run compatibility tests in CI to detect compatibility issues including checks for TiKV release-5.0 and release-5.1. In the meantime, we need to ignore some tests because there is some new APIs haven't been implemented in older TiKV versions.
Teachability, Documentation, Adoption, Migration Strategy: We need to update some interface Java doc to tell the least version of TiKV that support that API.
This issue is stale because it has been open 30 days with no activity.