Make ID allocator monotonic #3303
Labels
severity/critical
type/bug
The issue is confirmed as a bug.
type/enhancement
The issue or PR belongs to an enhancement.
Feature Request
Describe your feature request related problem
Currently, the ID allocator is guaranteed not to allocate duplicated IDs, but when PD leader changes multiple times, the IDs may not be monotonic.
Describe the feature you'd like
We can sync allocator once PD becomes leader.
Describe alternatives you've considered
none.
Teachability, Documentation, Adoption, Migration Strategy
none.
The text was updated successfully, but these errors were encountered: