New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #12435] Incremental updates for the IDO database #4487
Comments
Updated by gbeutner on 2016-08-15 10:53:33 +00:00
|
Updated by gbeutner on 2016-08-15 10:56:55 +00:00
|
Updated by gbeutner on 2016-08-15 11:00:52 +00:00
|
Updated by gbeutner on 2016-08-15 12:45:05 +00:00
Applied in changeset 2e8d3d3. |
Updated by jyoung15 on 2016-08-17 05:43:35 +00:00 I suspect you made a typo in lib/db_ido/dbobject.cpp. From the commit diff:
I believe it should be:
I suspect this is causing errors I am seeing:
If it was intended to remove the |
Updated by gbeutner on 2016-08-17 06:17:40 +00:00 Can you attach a copy of your IDO queries for that session? |
Updated by gbeutner on 2016-08-17 06:31:32 +00:00 Also, the DbQueryInsert change was intentional. The two DELETEs right before that loop should take care of any existing rows in the customvariables/customvariablestatus tables. The only other query that affects the customvariablestatus table has DbQueryInsert / DbQueryUpdate (in DbObject::SendVarsStatusUpdate). However, "query3.Object = xxx" seems to be out of place there. I guess I'll do some testing. :P |
Updated by gbeutner on 2016-08-17 06:38:00 +00:00 I've submitted a new ticket for this: #12459 - we've definitely had this bug for quite a while now. It only seems to affect queries with type DbQueryInsert (as opposed to DbQueryInsert | DbQueryUpdate) which is why we haven't noticed this before. |
Updated by gbeutner on 2016-08-17 06:44:48 +00:00
|
Updated by gbeutner on 2016-08-17 06:48:14 +00:00 After careful consideration I'm not sure whether that bug is related to your problem. I'd still like to see a copy of your queries. :) |
Updated by jyoung15 on 2016-08-17 15:53:40 +00:00 With the latest commit I am no longer seeing this issue. I believe it was resolved in #12461. Thank You! |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12435
Created by gbeutner on 2016-08-15 08:06:06 +00:00
Assignee: gbeutner
Status: Resolved (closed on 2016-08-15 12:45:05 +00:00)
Target Version: 2.5.0
Last Update: 2016-08-17 15:53:39 +00:00 (in Redmine)
Changesets
2016-08-15 12:43:11 +00:00 by gbeutner 2e8d3d3
Relations:
The text was updated successfully, but these errors were encountered: