Project

General

Profile

Bug #5633

Moderately large pull requests fail because inefficient use of reviewer_data_json column in pull_requests table

Added by Yechen Qiao over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
22.08.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

When we are trying to merge sufficiently large number of changes, internal service error occurs while attempting to make the pull requests.

On further investigation, it is because reviewer_data_json is too large.

But most of the space taken is due to user's base64 encoded images. The text in there easily fits if I remove the image data.

Is there a purpose why those user images are stored there? If not, would it be better to simply not store user images at all and parse them in real-time? :)

Also available in: Atom PDF