diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-08-05 17:54:29 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-09-02 17:54:39 +0300 |
commit | 8f8ae3025cb6ee9800182f41de86208a608958d2 (patch) | |
tree | 6011831eef2562e430bd6f2617a8e4a8b7f382c0 /changelogs | |
parent | 10ef65465876db3a9539dba1aa4d789f1cf2cb3b (diff) |
Replication job acknowledge removes 'completed' and 'dead' events.
In order to prevent continues database growing we should remove
replication events that are moved to the final state: 'completed'
or 'dead'. The best way to achieve this is to remove events on the
stage of acknowledgment. Once the events is processed and should be
moved into 'completed' state or if there is no more attempts to
process it and the target state is 'dead' the event is removed from
the database without changing status. In order to support event
collapsing similar scheduled replication events would be removed
as well as there won't be any effect in applying them after successful
execution of initial one.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2941
Diffstat (limited to 'changelogs')
0 files changed, 0 insertions, 0 deletions