Join GitHub today
*: remove RAFT CF #4372
What have you changed? (mandatory)
Move all meta data to raft engine and remove RAFT CF of kv engine. This is a breaking change, it changes data organization:
Because this PR saves apply index to raft engine, it is possible that the apply index in raft engine is out of sync with the actual apply index in kv engine. Thanks to idempotent, as long as we ensure the apply index in raft engine <= the apply index in kv engine, we can just re-apply raft log to restore correct state of kv engine. With this in mind, this PR also made other changes to:
What are the type of the changes? (mandatory)
How has this PR been tested? (mandatory)
Unit tests and integration tests.
Does this PR affect documentation (docs) update? (mandatory)
Does this PR affect tidb-ansible update? (mandatory)
Yes, it is fine to rolling update, but it does not support downgrade to previous versions.