From ce2c64cb231d80e178936eb5500c15c1d67820aa Mon Sep 17 00:00:00 2001 From: zhengchao Date: Wed, 27 Nov 2019 11:32:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=9C=AA=E7=9F=A5=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E6=9C=BA=E8=A1=A8=E7=9A=84=E5=91=8A=E8=AD=A6=E7=BA=A7=E5=88=AB?= =?UTF-8?q?=E9=99=8D=E4=BD=8E=E4=B8=BADebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_rule.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index 0f88fa3..64ea8c6 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -2193,7 +2193,7 @@ void update_group_rule(struct Maat_table_desc* table,const char* table_line,stru } if(db_group_rule.parent_type==PARENT_TYPE_GROUP && db_group_rule.not_flag) { - MESA_handle_runtime_log(logger,RLOG_LV_INFO,maat_module , + MESA_handle_runtime_log(logger, RLOG_LV_INFO, maat_module , "update error, invalid format of group table %s:%s not operation is forbidden for non-compile parent.", table->table_name[table->updating_name], table_line); table->udpate_err_cnt++; @@ -2204,8 +2204,10 @@ void update_group_rule(struct Maat_table_desc* table,const char* table_line,stru db_group_rule.virtual_table_id=Maat_table_get_id_by_name(table_mgr, virtual_table_name); if(db_group_rule.virtual_table_id<0) { - MESA_handle_runtime_log(logger,RLOG_LV_INFO,maat_module , - "update error, unknown virutal table name: %s of group table %s:%s.", + //This happens when one data source (e.g. redis) is consumed by multiple Maat instance. + //Maat ignores unrealated groups. + MESA_handle_runtime_log(logger, RLOG_LV_DEBUG, maat_module, + "group table load abandon, unknown virtual table name: %s of group table %s:%s.", virtual_table_name, table->table_name[table->updating_name], table_line); table->udpate_err_cnt++;