Two upload workers

  • Follow a file lock, row-claim commit and the separate worker execution paths.
Diagram phase
100%
Processing replicasClaim transactionAfter the claim commitsPod AProcessor APod BProcessor BNamed DB lockFile ID · 1 s default waitOracle staged rowsSet I or C · commitExecute batch APreviously claimed slice 1Execute batch BPreviously claimed slice 2Stale-work recoveryAge >30 min · I → R / 4000Request or executionDatabase claim or state change

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • The named lock belongs to the file. One worker at a time can pick and claim its next slice of staging rows. The committed row markers record who owns each slice.
  • After that short claim step, Pod A and Pod B can process different slices concurrently.
  • A file-scoped named lock serializes the claim. The workers can execute previously claimed slices concurrently.
Two upload workers

Two upload workers

  • Follow a file lock, row-claim commit and the separate worker execution paths.