v1

latestSwagger 2.02026-07-17586981.0 KB
prime

Primes a read failure response

post/prime/{clusterId}#(read_failure)

Path parameters

clusterIdstring required

Id or name of the cluster

Request body

Example request

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "read_failure",
    "consistency_level": "LOCAL_QUORUM",
    "received": 1,
    "block_for": 2,
    "failure_reasons": {
      "127.0.0.1": "READ_TOO_MANY_TOMBSTONES"
    },
    "data_present": true
  }
}

Response

PrimedQuery

Example response

{
  "when": {
    "query": "SELECT * FROM tbl"
  },
  "then": {
    "result": "read_failure",
    "consistency_level": "LOCAL_QUORUM",
    "received": 1,
    "block_for": 2,
    "failure_reasons": {
      "127.0.0.1": "READ_TOO_MANY_TOMBSTONES"
    },
    "data_present": true
  }
}