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

unexpectedly stopped! Shutting down #870

Open
Leehory opened this issue May 15, 2019 · 4 comments
Open

unexpectedly stopped! Shutting down #870

Leehory opened this issue May 15, 2019 · 4 comments

Comments

@Leehory
Copy link

Leehory commented May 15, 2019

2019-05-15 16:02:03,709 [ALWAYS] mongo_connector.connector:50 - Starting mongo-connector version: 3.1.1
2019-05-15 16:02:03,709 [ALWAYS] mongo_connector.connector:50 - Python version: 3.7.0 (default, May 14 2019, 18:28:28)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
2019-05-15 16:02:03,709 [ALWAYS] mongo_connector.connector:50 - Platform: Linux-3.10.0-957.12.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
2019-05-15 16:02:03,709 [ALWAYS] mongo_connector.connector:50 - pymongo version: 3.8.0
2019-05-15 16:02:03,714 [ALWAYS] mongo_connector.connector:50 - Source MongoDB version: 3.6.12
2019-05-15 16:02:03,714 [ALWAYS] mongo_connector.connector:50 - Target DocManager: mongo_connector.doc_managers.solr_doc_manager version: 0.1.0
2019-05-15 16:02:04,898 [CRITICAL] mongo_connector.oplog_manager:714 - Exception during collection dump
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/solr_doc_manager-0.1.0-py3.7.egg/mongo_connector/doc_managers/solr_doc_manager.py", line 296, in
for i in range(self.chunk_size))
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/mongo_connector-3.1.1-py3.7.egg/mongo_connector/oplog_manager.py", line 668, in do_dump
upsert_all(dm)
File "/usr/local/lib/python3.7/site-packages/mongo_connector-3.1.1-py3.7.egg/mongo_connector/oplog_manager.py", line 651, in upsert_all
dm.bulk_upsert(docs_to_dump(from_coll), mapped_ns, long_ts)
File "/usr/local/lib/python3.7/site-packages/mongo_connector-3.1.1-py3.7.egg/mongo_connector/util.py", line 33, in wrapped
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/solr_doc_manager-0.1.0-py3.7.egg/mongo_connector/doc_managers/solr_doc_manager.py", line 296, in bulk_upsert
for i in range(self.chunk_size))
RuntimeError: generator raised StopIteration
2019-05-15 16:02:04,899 [ERROR] mongo_connector.oplog_manager:723 - OplogThread: Failed during dump collection cannot recover! Collection(Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True, replicaset='fridomSolr'), 'local'), 'oplog.rs')
2019-05-15 16:02:05,724 [ERROR] mongo_connector.connector:411 - MongoConnector: OplogThread <OplogThread(Thread-2, started 139675974907648)> unexpectedly stopped! Shutting down

@leleTino
Copy link

Hi, any solution? I'm looking for fixing the same problem.

@junjun-git
Copy link

嗨,有什么办法吗?我正在寻找解决相同的问题。

@mithunj43
Copy link

any fix? even I am facing same issue !!!

@turivishal
Copy link

Any update?

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

5 participants