+
Skip to content

potential race condition in removing/adding same node? #119

Open
@skygragon

Description

@skygragon

say we remove node the add it back as non-voting, seems there would be race condition to cause a crash?

  1. append log "remove node A"
  2. append log "add non-voting node A" => new node memory
  3. later apply log "remove node A" => free node memory
  4. apply log "add non-voting node A" => update node memory (oops!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载