dragonfly
dragonfly copied to clipboard
TTL exhausted error during cluster migration
We have a deadlock in our cluster code. lock config_update_mu_ mutex interferes vs dispatchTracker (we can not use it during PAUSE)
- we try to set a new config via DflyClusterConfig
- lock config_update_mu_
- migration finalization run dispatch tracker and pause(...) simultaneously
- migration finalization lock config_update_mu_ during update_config(...) and blocked
- DflyClusterConfig runs dispatchTracker to set new config and we have deadlock the operations finish by timeout
Maybe this bug disappears after we do #2809