Files
scylladb/api
Asias He 271fac56a3 repair: Add synchronous API to query repair status
This new api blocks until the repair job is either finished or failed or timeout.

E.g.,

- Without timeout
curl -X GET http://127.0.0.1:10000/storage_service/repair_status/?id=123

- With timeout
curl -X GET http://127.0.0.1:10000/storage_service/repair_status/?id=123&timeout=5

The timeout is in second.

The current asynchronous api returns immediately even if the repair is in progress.

E.g., curl -X GET http://127.0.0.1:10000/storage_service/repair_async/ks?id=123

User can use the new synchronous API to avoid keep sending the query to
poll if the repair job is finished.

Fixes #6445
2020-07-14 11:20:15 +03:00
..
2020-06-26 19:54:14 +03:00
2020-06-26 19:54:14 +03:00
2018-03-28 12:41:55 +03:00
2018-11-21 00:01:44 +02:00
2016-04-08 08:12:47 +03:00
2020-06-26 19:54:14 +03:00