From 626e19ed1adc0d393c9395e3e0c38395eeef0f78 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 23 Jan 2020 15:46:54 +0000 Subject: [PATCH] add logging of migration phase at startup --- .../document-updater/app/coffee/RedisMigrationManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/RedisMigrationManager.coffee b/services/document-updater/app/coffee/RedisMigrationManager.coffee index 31ffa492c0..af2eb7ad33 100644 --- a/services/document-updater/app/coffee/RedisMigrationManager.coffee +++ b/services/document-updater/app/coffee/RedisMigrationManager.coffee @@ -133,7 +133,7 @@ class MigrationClient @rclient_new = redis.createClient(@new_settings) @new_key_schema = new_settings.key_schema # check that migration phase is valid on startup - @getMigrationPhase() + logger.warn {migration_phase: @getMigrationPhase()}, "running with RedisMigrationManager" getMigrationPhase: () -> @migration_phase = @new_settings.migration_phase # FIXME: allow setting migration phase while running for testing