operations

List active operations

Changed on

Returns current ClickHouse work in flight that matters to movoor.

get/operations

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
  • Auth: none declared

Query parameters

kind'move' | 'merge' | 'mutation' | 'fetch' | 'replication_queue'

API-owned operation kind.

Filter by API-owned operation kind. Invalid values return 400.

nodeIdstring
Example:shard1-replica1

Filter by movoor configured node id.

databasestring
Example:movoor_dev

Filter by ClickHouse database name.

tablestring
Example:test_generic_network_month_local

Filter by ClickHouse table name.

partitionIdstring
Example:d82d64de29c8683be4aad2f0fd38d74e

Filter by ClickHouse partition_id verbatim. partitionId is URL-safe but unique only within the selected database and table.

Response

Active operations.

Example response

{
  "collection": {
    "warnings": [
      {
        "code": "node_unreachable",
        "message": "clickhouse-shard2-replica2 did not respond before timeout",
        "nodeId": "shard2-replica2"
      }
    ]
  },
  "items": [
    {
      "state": "running",
      "bytesTotal": "104",
      "bytesProcessed": "104"
    }
  ]
}

Changes

    • breaking

      response property items/items/latestMessage list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/partition list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/partitionId list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/sourceDisk list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property items/items/targetDisk list-of-types was widened by adding types null to media type application/json of response 200

    • info

      endpoint added