[go: up one dir, main page]

ProjectDestroyWorker fails with StaleObjectError

Overview

While reviewing the issue https://gitlab.com/gitlab-org/gitlab-ce/issues/20984#note_18782673, It was noted that the ProjectDestroyWorker has been failing to remove projects with a StaleObjectError exception related to the Ci::Pipeline object, we also see the object GenericCommitStatus mentioned. This is possibly a regression from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7040

Log output

ActiveRecord::StaleObjectError: Attempted to destroy a stale object: Ci::Pipeline

https://log.gitlap.com/goto/799bde14c02dc496acc51410c38498c6

//cc @stanhu @ayufan