Get maintenance status

GET /v1/maintenance

Get status of maintenance.

Responses

  • 200 application/json

    Maintenance status response

    Hide response attributes Show response attributes object
    • draining boolean

      in maintenance state

    • eligible integer(int64)

      eligible partition count

    • errors boolean

      drain errors

    • failed integer(int64)

      failed transfer partition count

    • finished boolean

      drain finished

    • partitions integer(int64)

      partition count

    • transferring integer(int64)

      transferring partition count

GET /v1/maintenance
curl \
 --request GET 'http://localhost:9644/v1/maintenance'
Response examples (200)
{
  "draining": true,
  "eligible": 42,
  "errors": true,
  "failed": 42,
  "finished": true,
  "partitions": 42,
  "transferring": 42
}