Skip to content

Export & Import MR diff notes' diff file

George Koltsov requested to merge georgekoltsov/export-note-diff-file into master

What does this MR do and why?

This MR updates Import/Export & Direct Transfer to start exporting diff note's note_diff_file in order to import it instead of creating. This was suggested in #438422 (comment 1786473767) to try and eliminate a low probability NoteDiffFileCreationError. Instead of recreating each diff file from scratch during import we now import it, which removes the error from occurring and also removes the need to fetch MR diff from gitaly.

Mentions #438422 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by George Koltsov

Merge request reports

Loading