From d5a2b96df9c8c0f0ece5852a7931d7b0abd920f4 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 23 Jan 2020 14:36:59 +0000 Subject: [PATCH] add note about deleting the migration key entries --- .../app/coffee/RedisMigrationManager.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services/document-updater/app/coffee/RedisMigrationManager.coffee b/services/document-updater/app/coffee/RedisMigrationManager.coffee index a12593d03f..31ffa492c0 100644 --- a/services/document-updater/app/coffee/RedisMigrationManager.coffee +++ b/services/document-updater/app/coffee/RedisMigrationManager.coffee @@ -45,6 +45,12 @@ async = require("async") # - when all docupdaters are setting the flag (and writing to the new redis), # finish the migration by writing all data to the new redis # +# Final stage +# +# When all the queues are migrated, remove the migration code and return to a +# single client pointing at the new redis. Delete the +# ProjectHistory:MigrationKey:* entries in the new redis. +# # Rollback # # Under the scheme above a project should only ever have data in the old redis