Commit Graph

14 Commits

Author SHA1 Message Date
GitLab Bot 33795139ea Add latest changes from gitlab-org/gitlab@master 2020-02-19 18:09:10 +00:00
GitLab Bot 6b833f1e03 Add latest changes from gitlab-org/gitlab@master 2020-02-04 15:08:40 +00:00
GitLab Bot 25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Shinya Maeda d78f0724d9 Avoid conflicts between ArchiveTraceWorkers
This commits avoiding conflicts between ArchiveTraceWorker
and ArchiveTracesCronWorker by changing the target of the
latter worker.
2019-08-22 10:28:12 +07:00
Shinya Maeda c2e0e689f3 Validate the existence of archived traces before removing live trace
Often live traces are removed even though the archived trace
doesn't exist. This commit checkes the existence strictly.
2019-07-23 17:26:08 +07:00
Shinya Maeda 3fbd48e127 Squashed commit of the following:
commit 10456b1e9240886432f565dd17689080bbb133b9
Merge: 312c1a9bdf8 a5f4627857
Author: Shinya Maeda <shinya@gitlab.com>
Date:   Thu Nov 29 14:33:21 2018 +0900

    Merge branch 'master-ce' into add-counter-for-trace-chunks

commit 312c1a9bdf8efc45c3fed5ff50f05cc589bbb4ed
Author: Shinya Maeda <shinya@gitlab.com>
Date:   Wed Nov 28 20:06:18 2018 +0900

    Fix coding offence

commit e397cc2ccc1b2cf7f8b3558b8fa81fe2aa0ab366
Author: Shinya Maeda <shinya@gitlab.com>
Date:   Wed Nov 28 14:40:24 2018 +0900

    Fix tracking archive failure
2018-11-29 14:35:00 +09:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Shinya Maeda 1667b65c1e Use AlreadyArchivedError if it's the case 2018-07-06 15:19:01 +09:00
Shinya Maeda 68d5793985 Fix spec 2018-07-05 10:52:50 +09:00
Shinya Maeda 647106fec7 Check if trace exists before process `archive!` method 2018-07-05 10:52:50 +09:00
Shinya Maeda 9bf810a9f8 Catch ArchiveError and ignore errors if it's already archived 2018-07-05 10:52:50 +09:00
gfyoung 7e87626acf Enable frozen string for app/workers/**/*.rb
Partially addresses #47424.
2018-06-27 01:12:01 -07:00
Shinya Maeda dfb0d45ddb Rename worker to ArchiveTracesCronWorker 2018-06-06 20:18:32 +09:00