Project

General

Profile

Bug #2052

双MySQL配置VIP漂移时打开历史事件插件ehmi崩溃

Added by jiwei shi almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/08/2022
Due date:
% Done:

100%

Estimated time:
Spent time:
Defect version:

Description

问题描述:两台MySQL主备配置,通过keepalived的VIP地址访问数据库方式,当一台MySQL崩溃致使VIP地址漂移时,把ehmi界面切换到历史事件界面后ehmi崩溃。

History

#1

Updated by jiwei shi almost 3 years ago

  • Status changed from New to In Progress

原因:VIP漂移过程中,数据库连不上历史插件未初始化好的变量的使用导致插件崩溃;
解决:历史插件构造时默认字体m_fontSize大小为15,并且侧边栏禁止窗口操作来优化界面显示;
若出现数据库连接失败现象需要重新刷新历史事件界面;

#2

Updated by jiwei shi almost 3 years ago

  • Status changed from In Progress to Resolved
  • Target version set to 3.0.6
  • Start date changed from 03/09/2022 to 03/08/2022
  • % Done changed from 0 to 100

Also available in: Atom PDF