mirror of
https://github.com/lancedb/lancedb.git
synced 2026-09-03 12:08:52 +00:00
b0f010ad83
Companion to the Python surface: pauseJob and resumeJob on Connection, posting to the server's /v1/jobs/pause and /v1/jobs/resume endpoints. A pause parks the job until it is resumed: its workers drain and stop, and a resume re-queues it to pick work back up from checkpoints. The outcome strings mirror the server's answers -- "pausing", "already_paused", or "committing" (a job finalizing its results cannot be parked; retry shortly), and "resumed", "still_pausing", or "not_paused" -- so a caller can retry the transient refusals rather than treat them as failures.