Make cursor tracker redis key include filename
To support running multiple rake tasks in parallel based on separate list files, we want to make the cursor tracker redis key include the filename of the list it is processing. This way we will have a way to resume correctly if ever one of the rake tasks gets interrupted.
显示
- lib/gitlab/cleanup/orphan_job_artifact_final_objects/process_list.rb 11 个添加, 6 个删除...cleanup/orphan_job_artifact_final_objects/process_list.rb
- lib/gitlab/cleanup/orphan_job_artifact_final_objects/rollback_deleted_objects.rb 11 个添加, 6 个删除...an_job_artifact_final_objects/rollback_deleted_objects.rb
- spec/lib/gitlab/cleanup/orphan_job_artifact_final_objects/process_list_spec.rb 123 个添加, 2 个删除...up/orphan_job_artifact_final_objects/process_list_spec.rb
- spec/lib/gitlab/cleanup/orphan_job_artifact_final_objects/rollback_deleted_objects_spec.rb 2 个添加, 2 个删除...b_artifact_final_objects/rollback_deleted_objects_spec.rb
- spec/support/helpers/orphan_final_artifacts_cleanup_helpers.rb 11 个添加, 4 个删除...support/helpers/orphan_final_artifacts_cleanup_helpers.rb
想要评论请 注册 或 登录