Details
-
Type:
Bug
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Qserv
-
Labels:None
-
Epic Link:
-
Team:Data Access and Database
Description
Recipe:
- start Qserv, use a database "LSST"
- stop all Qserv services
- remove the LSST database
- start Qserv
Result:
{core}Starting xrootd.SQL error: Can't list tables for db LSST because the database does not exist.
/usr/local/home/becla/qserv/1/qserv/build/dist/etc/init.d/qserv-functions: line 37: 18735 Aborted (core dumped) /usr/local/home/becla/qserv/1/stack/Linux64/xrootd/qs5/bin/xrootd -c /usr/local/home/becla/qserv/1/qserv/build/dist/etc/lsp.cf -l /usr/local/home/becla/qserv/1/qserv/build/dist/var/log/xrootd.log -n worker
: Manager of pid-file quit without updating file. [FAILED]
[FAILED]{core}
xrootd log shows
xrootd: build/wpublish/MySqlExportMgr.cc:130: void<unnamed>::doDb::operator()(const std::string&): Assertion `ok' failed.
|
It is perfectly fine for Qserv to refuse to start if the database was removed, but the errors handling should be better.
Attachments
Issue Links
- mentioned in
-
Page Loading...
Hi Jacek, this too was unassigned and got caught in our bug-wranging net - assigning it to you as the relevant team lead for proper disposal.