You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/07/02 04:03:59 UTC

[GitHub] greatqn commented on issue #2014: redis注册中心的监控修改

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