Skip to main content

ParityDiffResult

groups object[]required
  • Array [
  • categoryParityDiffCategoryrequired

    One diff group; moved-by-Hoserva is a match against the relocation manifest.

    Possible values: [removed, updated, added, moved, copied, moved_by_hoserva]

    countinteger<int32>required
    pathsstring[]required

    mount/relative paths when SnapRAID named individual files. Empty when only an aggregate count is known (updated, moved).

  • ]
  • guard objectrequired
    wouldBlockbooleanrequired

    True when the threshold guard would block a sync.

    triggersParityGuardTrigger[]

    Possible values: [removed-count, removed-updated-percent, zero-files]

    removedCountinteger<int32>

    Accounted-for removals compared against the removed-count threshold.

    removedUpdatedPercentnumber<float>

    Accounted removals plus updated, as a percent of files before the diff.

    zeroFilesDisks object[]
  • Array [
  • diskstringrequired

    Data-disk mount point.

    filesBeforeinteger<int32>required
  • ]
  • summarystring

    Plain-language why the guard would block, when wouldBlock is true.

    ParityDiffResult
    {
    "groups": [
    {
    "category": "removed",
    "count": 0,
    "paths": [
    "string"
    ]
    }
    ],
    "guard": {
    "wouldBlock": true,
    "triggers": [
    "removed-count"
    ],
    "removedCount": 0,
    "removedUpdatedPercent": 0,
    "zeroFilesDisks": [
    {
    "disk": "string",
    "filesBefore": 0
    }
    ],
    "summary": "string"
    }
    }