operation exceeded time limit
- Dominant language
- JavaScript
- Stars
- 97
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
When I am running momy, it will eventually crash and stop, instead of starting a new session. Since its impossible to revert to the last "known" state, I have to re-import all 15 million records...
16 Oct 08:17:52 - Insert a new record into database.trades
16 Oct 08:17:55 - Stream closed....
16 Oct 08:17:55 - { MongoError: operation exceeded time limit
at Function.MongoError.create (/usr/local/lib/node_modules/momy/node_modules/mongodb-core/lib/error.js:31:11)
at /usr/local/lib/node_modules/momy/node_modules/mongodb-core/lib/connection/pool.js:497:72
at authenticateStragglers (/usr/local/lib/node_modules/momy/node_modules/mongodb-core/lib/connection/pool.js:443:16)
at Connection.messageHandler (/usr/local/lib/node_modules/momy/node_modules/mongodb-core/lib/connection/pool.js:477:5)
at Socket. (/usr/local/lib/node_modules/momy/node_modules/mongodb-core/lib/connection/connection.js:333:22)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
at readableAddChunk (_stream_readable.js:264:11)
at Socket.Readable.push (_stream_readable.js:219:10)
at TCP.onread (net.js:638:20)
name: 'MongoError',
message: 'operation exceeded time limit',
ok: 0,
errmsg: 'operation exceeded time limit',
code: 50 }
16 Oct 08:17:56 - Bye
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the timeout while replicating database.trades and inspect the session and recovery path implicated by the crash; the payload names no repository files or tests. Done means a MongoError with code 50 no longer terminates replication, the last known state is preserved, and a new session can start without re-importing all records.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb, mysql, node.js
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100