From df04418fa4232c43983ffc2d80cb57b0bdb9ed15 Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 26 Sep 2017 10:05:27 +0800 Subject: [PATCH] gossip: Print SCHEMA_TABLES_VERSION correctly Found this when debugging gossip with debug print. The application state SCHEMA_TABLES_VERSION was printed as UNKNOWN. Message-Id: (cherry picked from commit 98e904982026630eb15f19ced0be70ac4d835d98) --- gms/application_state.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gms/application_state.cc b/gms/application_state.cc index 63811b7ee8..61af551877 100644 --- a/gms/application_state.cc +++ b/gms/application_state.cc @@ -62,6 +62,7 @@ static const std::map application_state_names = { {application_state::TOKENS, "TOKENS"}, {application_state::SUPPORTED_FEATURES, "SUPPORTED_FEATURES"}, {application_state::CACHE_HITRATES, "CACHE_HITRATES"}, + {application_state::SCHEMA_TABLES_VERSION, "SCHEMA_TABLES_VERSION"}, }; std::ostream& operator<<(std::ostream& os, const application_state& m) {