harbor/src/pkg/scheduler
Chlins Zhang a7cef5e24f
fix: wrap schedule/exec/task creation as orm tx (#18458)
Wrap orm tx when the scheduler try to create the task because submit job
maybe failure depends on the jobservice.

Fixes: #18452

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 08:42:18 +08:00
..
callback_test.go Refactor the replication execution 2020-11-23 14:24:10 +08:00
callback.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
dao_test.go lint: sort imports (#17131) 2022-07-20 11:33:08 +08:00
dao.go bump beego (#17801) 2022-11-24 18:07:42 +08:00
mock_dao_test.go feat: upgrade mockery version (#18332) 2023-03-11 08:16:11 +08:00
mock.go chore(mocks): add make targets to generate and check mocks 2020-07-22 01:59:32 +00:00
periodic_job.go Refactor the scheduler with the task manager mechanism 2020-07-20 14:03:15 +08:00
scheduler_test.go fix: wrap schedule/exec/task creation as orm tx (#18458) 2023-04-04 08:42:18 +08:00
scheduler.go fix: wrap schedule/exec/task creation as orm tx (#18458) 2023-04-04 08:42:18 +08:00