Describe the bug
When using a freshly created DB, everything seems to work, but as soon as I kill node with Ctrl + C and restart the server, all queries for fetching data from tables results in the following error:
C:\repos\identity-hub\packages\implementation\node_modules\snap-db\bin\database.js:699
throw new Error("Error parsing log file!");
^
Error: Error parsing log file!
at processLog_1 (C:\repos\identity-hub\packages\implementation\node_modules\snap-db\bin\database.js:699:31)
at ReadStream.<anonymous> (C:\repos\identity-hub\packages\implementation\node_modules\snap-db\bin\database.js:755:21)
Expected behavior
Queries against established tables with data that previously was present and queriable should remain so.
Example
I can get a copy of the repo up soon, but here are the relevant code sections:
export default class Storage {
Interestingly, when I remove the indexes the DB seems to function normally. I don't understand why that is, perhaps I am using the indexes feature incorrectly?
Which version are you using? version 2.3.7
Describe the bug When using a freshly created DB, everything seems to work, but as soon as I kill node with Ctrl + C and restart the server, all queries for fetching data from tables results in the following error:
Expected behavior Queries against established tables with data that previously was present and queriable should remain so.
Example I can get a copy of the repo up soon, but here are the relevant code sections: export default class Storage {