From f2402e2772c5067a46ffc70ea137404d89795bb1 Mon Sep 17 00:00:00 2001 From: Pavlo Strokov Date: Mon, 10 Aug 2020 09:43:30 +0300 Subject: 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 --- changelogs/unreleased/ps-ack-does-delete.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelogs/unreleased/ps-ack-does-delete.yml (limited to 'changelogs') 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 -- cgit v1.2.3