update - 解决多个任务同时操作同一个实例,出现的事务问题

This commit is contained in:
wangli 2024-07-03 10:49:06 +08:00
parent 5334b67e64
commit 5d33094266

View File

@ -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());
}