diff options
author | Stan Hu <stanhu@gmail.com> | 2019-06-08 22:11:46 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-06-08 22:32:52 -0700 |
commit | 97ba8cd975a1cdf164f72aa872f72b199be4389c (patch) | |
tree | 1f3f3dc57dce7de25ab4296803299fad494f867a /doc/user/project | |
parent | 2a01cb79560a861a7e32e9ee11e823f22e181aa1 (diff) | |
download | gitlab-ce-sh-fix-legacy-upload-migration.tar.gz |
Gracefully handle invalid notes in legacy upload migrationsh-fix-legacy-upload-migration
If the database contains notes with invalid noteable values, the
background migration would fail repeatedly, causing duplicate "failed to
migrate" text to appear in LegacyDiffNotes. To avoid this, we now bypass
validations when updating the note text. For LegacyDiffNotes, we also
make the job idempotent so that the duplicate failed migration errors
cannot be added repeatedly.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62982
Diffstat (limited to 'doc/user/project')
0 files changed, 0 insertions, 0 deletions