Реализовать защиту Lab7 и проверку отзыва worker

This commit is contained in:
R0flyan
2026-11-27 21:53:26 +03:00
parent 20afc2c790
commit 2fa513f56c
68 changed files with 6767 additions and 64 deletions
+4
View File
@@ -0,0 +1,4 @@
-- An expired worker lease is recovered by the dispatcher before publishing.
GRANT SELECT(active_version) ON attachments TO lab_dispatcher;
GRANT UPDATE(status,error_code,updated_at) ON attachments TO lab_dispatcher;
GRANT UPDATE(state,lease_until,error_code,attempt,next_at,updated_at) ON image_jobs TO lab_dispatcher;