From 98a677d4afbcb3a59fd08f7b8d478f1803b7b96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 27 May 2020 18:53:16 +0200 Subject: [PATCH] Added extra per-table log for mysql_servers checksum generation --- lib/MySQL_HostGroups_Manager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/MySQL_HostGroups_Manager.cpp b/lib/MySQL_HostGroups_Manager.cpp index cd96e9111..0ec6124fd 100644 --- a/lib/MySQL_HostGroups_Manager.cpp +++ b/lib/MySQL_HostGroups_Manager.cpp @@ -1892,6 +1892,7 @@ bool MySQL_HostGroups_Manager::commit() { } uint64_t hash1_ = resultset->raw_checksum(); myhash.Update(&hash1_, sizeof(hash1_)); + proxy_info("Checksum for table %s is %llu\n", "mysql_servers", hash1_); } delete resultset; } @@ -1911,6 +1912,7 @@ bool MySQL_HostGroups_Manager::commit() { } uint64_t hash1_ = resultset->raw_checksum(); myhash.Update(&hash1_, sizeof(hash1_)); + proxy_info("Checksum for table %s is %llu\n", "mysql_replication_hostgroups", hash1_); } delete resultset; } @@ -1930,6 +1932,7 @@ bool MySQL_HostGroups_Manager::commit() { } uint64_t hash1_ = resultset->raw_checksum(); myhash.Update(&hash1_, sizeof(hash1_)); + proxy_info("Checksum for table %s is %llu\n", "mysql_group_replication_hostgroups", hash1_); } delete resultset; } @@ -1949,6 +1952,7 @@ bool MySQL_HostGroups_Manager::commit() { } uint64_t hash1_ = resultset->raw_checksum(); myhash.Update(&hash1_, sizeof(hash1_)); + proxy_info("Checksum for table %s is %llu\n", "mysql_galera_hostgroups", hash1_); } delete resultset; } @@ -1968,6 +1972,7 @@ bool MySQL_HostGroups_Manager::commit() { } uint64_t hash1_ = resultset->raw_checksum(); myhash.Update(&hash1_, sizeof(hash1_)); + proxy_info("Checksum for table %s is %llu\n", "mysql_aws_aurora_hostgroups", hash1_); } delete resultset; }