Skip to content

P2: Bind service admission tokens to server incarnation #164

Backlog

Description

@chrisohearn

Finding

At candidate f41b18d064c096beeeab14652aaf8b11631b1652, withAdmission writes active token files containing only the server PID. If the server exits with a lease still present and Linux later reuses that PID for an unrelated long-lived process, the host guard can continue counting the stale token as active and every strict snapshot attempt times out after 120 seconds. This fails closed by preventing the copy; it does not permit a stop while work is active.

Follow-up

Bind each active token to the server incarnation using the boot ID and process start ticks, following the fence protocol. Add focused coverage proving a reused PID does not keep a stale token active while a live matching incarnation still blocks the snapshot.

Source: PR #163 Code Review finding; token creation at f41b18d.

This is a non-blocking P2 follow-up under the normal finding cutoff.

Activity

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