List replication queue items
Changed onReturns raw replication queue evidence from system.replication_queue, per node.
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/operations/replication-queue
- Auth: none declared
Query parameters
Filter by movoor configured node id.
Filter by ClickHouse database name.
Filter by ClickHouse table name.
Filter by open ClickHouse replication queue type. Known values include GET_PART, MERGE_PARTS, MUTATE_PART, and DROP_RANGE.
Filter replication queue items by execution state.
Filter replication queue items by whether lastException is set.
Response
Replication queue details.
Example response
{
"collection": {
"warnings": [
{
"code": "node_unreachable",
"message": "clickhouse-shard2-replica2 did not respond before timeout",
"nodeId": "shard2-replica2"
}
]
},
"items": [
{
"nodeId": "shard1-replica1",
"shard": "shard1",
"replica": "replica1",
"position": "104",
"type": "GET_PART",
"requiredQuorum": "104",
"numTries": "104",
"numPostponed": "104",
"conditions": [
{
"code": "replica_disk_mismatch"
}
]
}
]
}Changes
- breaking
response property
items/items/allOf[subschema #2]/lastExceptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/newPartNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/postponeReasonlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
items/items/allOf[subschema #2]/sourceReplicalist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
///response's property type changed from no type tostringfor status
- breaking
- info
endpoint added
- info