update - 解决多个任务同时操作同一个实例,出现的事务问题
This commit is contained in:
parent
5334b67e64
commit
5d33094266
@ -41,6 +41,7 @@ public class CustomRetryInterceptor extends AbstractCommandInterceptor {
|
||||
try {
|
||||
// try to execute the command
|
||||
if (AbstractCommand.class.isAssignableFrom(command.getClass())) {
|
||||
// 如果在以后,重试三次也不能解决的话, 可以利用这里的拿到的参数,重新自动构造CMD,并执行.
|
||||
log.info("traceId:{} Executing command params: {}", TraceUtil.traceId(),
|
||||
((AbstractCommand<T>) command).paramToJsonString());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user