Skip to content

Fencing does not cover a rolling upgrade with 1.4.x nodes still running #35

Closed

Description

@vheathen

guides/Upgrades.md calls a rolling upgrade safe once the migration has run, but fencing does not cover mixed versions. While a 1.4.x node runs, its plain ack can move the new owner's position backwards, and a stale new node is not fenced when a 1.4.x node takes the lock (6 of 6 scenarios with Hex 1.4.10, default and custom schema; the probes placed the stale acks after the takeover on purpose). Low: a takeover has to happen during the rollout. The limit stated in guides/Cluster.md could be repeated there.

Part of the review of main at 1f9d1f8: #27 (comment)

Activity

  1. yordis commented on Oct 27, 2026

    @yordis
    Member

    Fixed by #51. guides/Upgrades.md now states that lock generation fencing only holds between nodes on 1.5.0 or later, lists both mixed-version failure modes (a 1.4.x ack moving the new owner's position backwards, and a 1.5.0 node not fenced when a 1.4.x node takes the lock), and recommends a full stop when a stale position must never be recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions