Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #3419] ido2db does not cleanly exit the client on wrong schema version check in db_hello #1162
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3419
Created by mfriedrich on 2012-11-02 23:11:12 +00:00
within ido2db.c there's the first db_hello call, causing a protocol and also db schema version check. if either one of them returns an error, the caller just ignores that, and goes on with data inserts.
problem at this stage - the instance id is likely not fetched at this stage, being 0 as db_hello did not select nor populate it correctly.
this is likely a possible fix for #3326 too (and many other issues with data duplication on upgrade when the upgraded schema version was not in place, bailing too early).
2012-11-02 23:24:55 +00:00 by mfriedrich 7a9ff72
Updated by mfriedrich on 2012-11-02 23:12:47 +00:00
Updated by mfriedrich on 2012-11-09 16:54:46 +00:00
confirmed working by http://monitoring-portal.org/wbb/index.php?page=Thread&postID=179718#post179718