Project

General

Profile

Bug #1179

FEP-HA重启数据不一致问题

Added by pengfei xu almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
01/09/2021
Due date:
01/11/2021
% Done:

100%

Estimated time:
2.00 h
Defect version:

Description

一:FEP-HA重启过程数据不一致问题:
描述:如一个di点值是1时,FEP-HA重启但没有发生负载均衡切换就已经启动,但是设备的值已由1变0,此时采集上来的0没有写到redis中;
原因:由于FEP-HA逻辑是判断采集上来的值和实时库中的值对比,有变化才写入redis或者这个点的标志位(qds(已经不同于FEP的功能))是大于0x80直接将值写到redis中,现在FEP-HA重启,实时库中点初始值是0,qds值也为0,故无法写入redis中(当di点值再变1时会写入redis中);
修改:FEP-HA重启时就将转发点的值标志位qds初始化为0x80,这样重启后第一次采集上来的值会直接写入redis中;

二:部分log格式模糊,也会修改一下;

三:transmitACC电度修改(之前传入的参数错误)

History

#1

Updated by pengfei xu almost 4 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
#2

Updated by pengfei xu almost 4 years ago

  • % Done changed from 0 to 100
#3

Updated by pengfei xu almost 4 years ago

  • Status changed from In Progress to Resolved
#4

Updated by xiangyang li almost 4 years ago

  • Target version changed from FEP_V3.1 to FEP_V3.1.1
#5

Updated by pengfei xu almost 4 years ago

  • Description updated (diff)
  • Status changed from Resolved to In Progress
#6

Updated by pengfei xu almost 4 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF