weixin_39690097 2020-11-29 10:24
浏览 0

[dev.icinga.com #11280] Host groups and service groups disapear during reload

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11280

Created by mzac on 2016-03-02 20:03:50 +00:00

Assignee: (none) Status: Closed (closed on 2016-07-25 14:54:19 +00:00) Target Version: (none) Last Update: 2016-07-25 14:54:49 +00:00 (in Redmine)

Icinga Version: 2.4.3

My Icinga config is quite large and I notice that during a scheduled reload that in icingaweb2 that the host and service groups disappear from hosts and services only to re-appear a few minutes later.

My guess would be that the relationships in the database are blown away during the reload and only show up after a full reload?

Relations:

该提问来源于开源项目:Icinga/icinga2

  • 写回答

7条回答 默认 最新

  • weixin_39690097 2020-11-29 10:24
    关注

    Updated by elippmann on 2016-03-07 14:24:03 +00:00

    • Project changed from Icinga Web 2 to Icinga 2
    • Icinga Version set to 2

    Hi mzac,

    I think Icinga 2 just drops all database entries on reload and inserts them one after another. I move this to Icinga 2.

    , Michi: Do we use truncate or delete from? Truncate is DDL so we can't benefit from transactions here. But delete is transaction-safe. We could also create new tables and rename them which is atomic.

    If we use delete from, do we start a transaction on reload?

    Best regards, Eric

    评论

报告相同问题?