Skip to content
Fourohtwo

detect.halowerk.com/v1/F-A-NEXT-ARIES_RESTART/aries-redo-undo-log-selection

Returns the specific records requiring repeat-history redo and loser undo after supplied restart analysis, including compensation-chain skips, for an offline database-recovery planner.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-A-NEXT-ARIES_RESTART/aries-redo-undo-log-selection

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NEXT-ARIES_RESTART/aries-redo-undo-log-selection", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"aries_restart":{"claim":4,"dirty_pages":[{"page":0,"rec_lsn":1}],"losers":[{"next_lsn":2,"txn":0}],"pages":[{"page":0,"page_lsn":0}],"records":[{"lsn":1,"page":0,"prev":0,"txn":0,"type":"update","undo_next":0,"undoable":true},{"lsn":2,"page":0,"prev":1,"txn":0,"type":"update","undo_next":0,"undoable":true}]}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "aries_restart": {
      "claim": 4,
      "dirty_pages": [
        {
          "page": 0,
          "rec_lsn": 1
        }
      ],
      "losers": [
        {
          "next_lsn": 2,
          "txn": 0
        }
      ],
      "pages": [
        {
          "page": 0,
          "page_lsn": 0
        }
      ],
      "records": [
        {
          "lsn": 1,
          "page": 0,
          "prev": 0,
          "txn": 0,
          "type": "update",
          "undo_next": 0,
          "undoable": true
        },
        {
          "lsn": 2,
          "page": 0,
          "prev": 1,
          "txn": 0,
          "type": "update",
          "undo_next": 0,
          "undoable": true
        }
      ]
    }
  }
}