Skip to content

test(platform): the RAG watchdog lock-timeout lane sometimes fails the locked row instead of deferring it #4113

Closed

Description

@yannickmonney

Backend integration on #4109's first head failed one check out of 1487, in the RAG watchdog lock-timeout lane:

FAIL  rag watchdog: a row lock held past the settle lock timeout defers that row alone — returned while the lock was held=true after 2007 ms (want < 10000), first=failed locked=failed (want running) after=failed, tick={"adopted":0,"failed":2,"revived":0}

What it shows: the tick returned while the lock was still held, as the lane intends. But the locked row read failed where the lane wants running, and the tick reported failed: 2.

Context:

Acceptance

  • Decide which it is, with a deterministic local reproduction (for example an explicit barrier, not sleeps):
    • the settle fails a row whose lock it never got, or
    • the lane's lock holder isn't in place when the tick reads the row.
  • If it's a product defect, fix it so a row whose lock wait timed out is always deferred. If it's the lane, make its ordering explicit.
  • No weakened assertion and no retry wrapper.
  • An independent review by a distinct agent.
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