Project

General

Profile

Bug #5437

provenance hsqldb database doesn't behave as though it's properly shutdown when in server mode

Added by Derik Barseghian over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
provenance
Target version:
Start date:
07/07/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5437

Description

When using server-mode hsqldb provenance, kepler shutdown goes very fast, the .log file remains, and subsequent kepler startup takes a long time as the log file is processed. This is the opposite of the desired/expected behavior and how file-mode hsqldb works.
It seems like we're doing the right things for a proper shutdown to occur, and checking server.getState() in HSQL.shutdownServers() returns that all databases have been shutdown, yet the log file is supposed to be processed and removed if a proper SHUTDOWN occurs according to the 1.8 docs, and this is not happening.

History

#1 Updated by Daniel Crawl over 7 years ago

This was occurring for all 3 databases in server mode, not just provenance.
Fixed by issuing sql SHUTDOWN instead of calling Server.shutdown().

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5437

Also available in: Atom PDF