Skip to content

fix bug: switching the slots and bumping the configEpoch must be executed within the same mutex lock. - #452

Merged
takenliu merged 1 commit into
Tencent:2.8.txfrom
takenliu:2.8.tx
May 28, 2026
Merged

fix bug: switching the slots and bumping the configEpoch must be executed within the same mutex lock.#452
takenliu merged 1 commit into
Tencent:2.8.txfrom
takenliu:2.8.tx

Conversation

@takenliu

Copy link
Copy Markdown
Collaborator

Description

改变slot和提升configEpoch需要在同一个mutex锁下,不然会带来一致性问题。

#451

Motivation and Context

How Has This Been Tested?

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Code follows the code style of this project.
  • Change requires a change to the documentation.
  • I have updated the documentation accordingly.

    switching the slots and bumping the configEpoch must be executed within the same mutex lock.
@takenliu
takenliu merged commit d77ef8a into Tencent:2.8.tx May 28, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant