zyanycall / stressTestPlatform

基于Jmeter实现的在线压测和管理Jmx的平台。
Apache License 2.0
623 stars 343 forks source link

分布式节点异步启动的问题 #44

Closed smooth00 closed 5 years ago

smooth00 commented 5 years ago

对于分布式节点启动,如果节点机连接失败,就可能导致异步状态一直处于进行中的状态。建议是多一个连接超时的状态。或是节点连接异常时,重新打回禁用状态。

2019-06-28 11:01:40.312 ERROR 3652 --- [async-service-4] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected error occurred invoking async method 'public void io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.updateBatchStatus(java.lang.Long,java.lang.Integer)'.

io.renren.common.exception.RRException: test48 节点机连接失败! at io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.runOrDownSlave(StressTestSlaveServiceImpl.java:112) at io.renren.modules.test.service.impl.StressTestSlaveServiceImpl.updateBatchStatus(StressTestSlaveServiceImpl.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)