Skip to content

Intermittent problem when opening database #263

Answered by hg-ms
HansITChange asked this question in Q&A
Discussion options

You must be logged in to vote

The problem is caused by an incomplete store that can’t be reverted if the SqlConnector is used.
This must be fixed in the EclipseStore code.

To avoid such incomplete stores, you should always shutdown the storage using the shutdown() method before terminating your app.

Maybe you can try to repair the storage by truncating the storage data manually.
To do so you need to look for a table named "microstream_storage$channel_0" in the db.
This table should have entries with identifiers like “channel_0_n.dat”. Look for the identifier that has the greatest number “n” and delete all entries that have a “start” value greater or equals 50962 (the last known valid size).

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@HansITChange
Comment options

Comment options

You must be logged in to vote
1 reply
@HansITChange
Comment options

Comment options

You must be logged in to vote
1 reply
@HansITChange
Comment options

Answer selected by HansITChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants