Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Streaming #22

Closed
inoex135 opened this issue May 29, 2018 · 1 comment
Closed

Error When Streaming #22

inoex135 opened this issue May 29, 2018 · 1 comment

Comments

@inoex135
Copy link

Import was success, but when streaming I got this error. What is it? When I changed data on mongodb, it was not synchronized, maybe it was caused by this error?

javan@javan-desktop:~/workspace/simpel/application/shell$ momy --config momyfile.json
29 May 12:48:31 - Connect to MySQL...
the options [auto_reconnect] is not supported
(node:24053) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'ts' of null
at db.collection.find.sort.limit.nextObject.then.item (/usr/local/lib/node_modules/momy/lib/tailer.js:127:25)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:24053) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:24053) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@inoex135
Copy link
Author

inoex135 commented Sep 7, 2018

the problem was solved, I forgot to setup replica set

@inoex135 inoex135 closed this as completed Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant