dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

TTL exhausted error during cluster migration

Open BorysTheDev opened this issue 1 year ago • 1 comments

We have a deadlock in our cluster code. lock config_update_mu_ mutex interferes vs dispatchTracker (we can not use it during PAUSE)

  1. we try to set a new config via DflyClusterConfig
  2. lock config_update_mu_
  3. migration finalization run dispatch tracker and pause(...) simultaneously
  4. migration finalization lock config_update_mu_ during update_config(...) and blocked
  5. DflyClusterConfig runs dispatchTracker to set new config and we have deadlock the operations finish by timeout

BorysTheDev avatar Jun 26 '24 13:06 BorysTheDev

Maybe this bug disappears after we do #2809

BorysTheDev avatar Jun 26 '24 13:06 BorysTheDev