Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow raft append entries transcript

An agent that replays a follower log needs whether supplied AppendEntries acceptance log lengths and commit-index claims follow term and previous-entry matching rules.

POST https://detect.halowerk.com/v1/workflow/workflow-raft-append-entries-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "initial_term": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "initial_log_terms": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          },
          "minItems": 0,
          "maxItems": 256
        },
        "initial_commit": {
          "type": "integer",
          "minimum": 0,
          "maximum": 256
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "leader_term": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "previous_index": {
                "type": "integer",
                "minimum": 0,
                "maximum": 512
              },
              "previous_term": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "entry_terms": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1000000
                },
                "minItems": 0,
                "maxItems": 64
              },
              "leader_commit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 512
              },
              "claimed_accept": {
                "type": "boolean"
              },
              "claimed_log_length": {
                "type": "integer",
                "minimum": 0,
                "maximum": 512
              },
              "claimed_commit": {
                "type": "integer",
                "minimum": 0,
                "maximum": 512
              }
            },
            "required": [
              "leader_term",
              "previous_index",
              "previous_term",
              "entry_terms",
              "leader_commit",
              "claimed_accept",
              "claimed_log_length",
              "claimed_commit"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 256
        }
      },
      "required": [
        "initial_term",
        "initial_log_terms",
        "initial_commit",
        "events"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "initial_term": 1,
    "initial_log_terms": [
      1
    ],
    "initial_commit": 0,
    "events": [
      {
        "leader_term": 0,
        "previous_index": 1,
        "previous_term": 1,
        "entry_terms": [],
        "leader_commit": 0,
        "claimed_accept": false,
        "claimed_log_length": 1,
        "claimed_commit": 0
      }
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →