FijianJacobs

Results 5 comments of FijianJacobs

@hudajin1980 pre-1.2.0 实现该功能

@thibaultcha our cases: Under the situation that we had set proxy_next_upstream directive for upstream 500 error and set retries times more then 0 for balancer, when we sent a post...

"As of today, non-idempotent methods should already not be retried", it's right. I meant, if you use ngx.balancer.set_more_retries with input parameter greater than 0 for non-idempotent request , when the...

原因找到,当数据库jdbc连接添加useAffectedRows=true参数时,即连接配置如下形式: `jdbc:mysql://localhost:3306/xxl_job?Unicode=true&characterEncoding=UTF-8&useAffectedRows=true` 执行以下代码: `int ret = XxlJobAdminConfig.getAdminConfig().getXxlJobLogReportDao().update(xxlJobLogReport);` mysql update 返回行数是affected rows,而非matched rows,这样时候如果任务报表没有变化的情况下,affected rows为0,即ret=0,此时执行insert时会报重复key插入异常。 解决方案见Pull Request:https://github.com/xuxueli/xxl-job/pull/1724

@sumory 你好 在这个案例中是必须先在nginx.conf中配置: upstream business_upstream { server 127.0.0.1:8003; } 对吧 divide组件支持动态分配upstream吗?