Replies: 1 comment
-
|
Try increasing the const server = new AceBaseServer(dbname, { host: 'localhost', port: 5757, storage: { lockTimeout: 600 } }); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I accidentally logged very large objects into the db. During db startup / initialization, i'm getting the errors :
"read lock on path ... is taking a long time to complete".
which seems ok but i eventually get the error :
"[naked_charts_trading_db] NodeReader.getValue:child error: Error: lock on tid m1bjqnf40009isv6tig3rqf8 has expired, not allowed to continue
at NodeLocker.lock (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/node-lock.js:119:19)
at IPCPeer.lock (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/ipc/ipc.js:355:49)
at Object.lock (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/index.js:444:33)
at loadChildValue (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2400:67)
at file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2467:55
at createStreamFromBinaryTree (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2716:38)
at async NodeReader.getValue (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2451:21)
at async loadChildValue (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2439:37)
at async Promise.all (index 1)
at async NodeReader.getValue (file:///C:/Websites/naked-charts-trading/node_modules/acebase/dist/esm/storage/binary/index.js:2483:21)
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);"
i get this a few times before the db exits before initializing. How do i proceed? I just want to load up the db and delete the node at this point. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions