dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] greatqn commented on issue #2014: redis注册中心的监控修改
Date Mon, 02 Jul 2018 04:03:59 GMT
greatqn commented on issue #2014: redis注册中心的监控修改
URL: https://github.com/apache/incubator-dubbo/pull/2014#issuecomment-401666584
 
 
   jedis的修改部分可以略过。太早之前改的。
   
   主要就DubboMonitorFactroy.java里的一句:
           //Constants.CLUSTER_KEY, "failsafe",
           url = url.addParameters( Constants.CHECK_KEY, String.valueOf(false), 
   
   不知为何这里要加这个默认值。
   而在RedisRegistry里做了如下校验:
           String cluster = url.getParameter("cluster", "failover");
           if (! "failover".equals(cluster) && ! "replicate".equals(cluster)) {

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message