Authored by jack

log

... ... @@ -296,10 +296,16 @@ public class RabbitmqService {
List<MObjectInfo> mObjectInfos = moService.queryMObjectsInfoByHost(tagValue[1]);
DEBUG.info("query all slaves {} about ip {} ", mObjectInfos, tagValue[1]);
for (MObjectInfo info : mObjectInfos) {
TypeInfo typeInfo = typeService.queryTypeInfo(mObjectInfo.getMoTypeId());
DEBUG.info("query typeInfo {}", typeInfo);
if (1 == typeInfo.getTypeIsLeaf() && typeInfo.getTypeName().matches(InterVar.MOMATCHPREFIX)) {
slaveList.add(info.getMoId());
}
}
... ...