diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-08-10 09:43:30 +0300 |
---|---|---|
committer | Pavlo Strokov <pstrokov@gitlab.com> | 2020-09-02 17:54:39 +0300 |
commit | f2402e2772c5067a46ffc70ea137404d89795bb1 (patch) | |
tree | 124da71f751be22623575055fd4884116400a130 /changelogs | |
parent | 8f8ae3025cb6ee9800182f41de86208a608958d2 (diff) |
Replication job acknowledge removes 'completed' and 'dead' events.
Migration script to remove all redundant rows from replication_queue.
It is safe to re-run migration if it fails. It is designed to remove
rows in batches by 100000 each iteration. Each removal happens in
separate transaction. The script removes only 'dead' and 'completed'
replication events.
Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2941
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/ps-ack-does-delete.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/ps-ack-does-delete.yml b/changelogs/unreleased/ps-ack-does-delete.yml new file mode 100644 index 000000000..423cd092a --- /dev/null +++ b/changelogs/unreleased/ps-ack-does-delete.yml @@ -0,0 +1,5 @@ +--- +title: Replication job acknowledge removes 'completed' and 'dead' events. +merge_request: 2457 +author: +type: added |