Files
notes/work/移动杭研/问题处理/2023-06/0628-业务单表状态不一致.md
T
2026-03-01 01:43:46 +08:00

32 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
![](../../../../attachment/images-uuid/7962a9a38a9340bcbd6ec1f76200497b.png)
```sql
select oi.order_state,ti.order_state
from testorder_info ti
left join order_info oi on ti.order_num = oi.pre_order_num
where oi.order_state = 3
order by oi.created_time desc;
```
通过过滤发现是**业务开通单**的状态不一致
![](../../../../attachment/images-uuid/3355f9b4037a44ae89ee2fd4a4f87de0.png)
开通状态通知 接口 (接收商机关闭/归档通知工单)
```java
/sync/BBOSS/SyncProvResultServ
```
查看日志发现归档日志,通用运维回传日志均正常。
最后查询日志时间线发现是通用运维回传接口的执行时间过长,在通用运维执行过程中,通知了 BBOSS,BBOSS 短时间进行归档将状态值填充为 5,但通用运维接口还未执行完成,最后被覆盖为 3。导致出现偶现性问题。
后期排查问题,如发现是短时间内的未知操作要考虑操作并行混乱改值的问题。
17:38:46 通用运维回传
17:39:00 接收归档 14s 归档
17:39:08 通用运维回传结束时间 22s