Giter Club home page Giter Club logo

Comments (4)

behackett avatar behackett commented on July 17, 2024

@neorand - When you say "and second run , mongo-connector can't read oplog_progress.txt file" what error do you get?

from mongo-connector.

dimaspriyanto avatar dimaspriyanto commented on July 17, 2024

I think I got the same issue regarding to oplog file
Mine didn't event write/find the oplog file, what I'm doing wrong? I'm using single replica set btw..

Here is the log:

2013-07-19 04:21:02,433 - INFO - Beginning Mongo Connector
2013-07-19 04:21:02,433 - INFO - No doc manager specified, using simulator.
2013-07-19 04:21:03,435 - CRITICAL - MongoConnector: Can't find OplogProgress file!
2013-07-19 04:21:03,439 - INFO - OplogManager: Initializing oplog thread
2013-07-19 04:21:03,441 - INFO - MongoConnector: Starting connection thread MongoClient('localhost', 27017)
2013-07-19 04:21:03,441 - INFO - MongoConnector: Stopping all OplogThreads
2013-07-19 04:21:03,445 - INFO - OplogManager: Collection(Database(MongoClient('localhost', 27017), u'local'), u'oplog.rs') Dumped collection into target system

from mongo-connector.

tjj5036 avatar tjj5036 commented on July 17, 2024

@dimaspriyanto What happens if you give it the full name of the config file? Also, do you have RW access in the directory that it's located or wherever you are running the connector from? What arguments are you passing to the connector?

from mongo-connector.

llvtt avatar llvtt commented on July 17, 2024

mongo-connector used to expect the oplog progress file (called "config.txt" by default) to exist already before being run. Even the scripts in the test directory touch the config.txt file before attempting to use mongo-connector. I consider this a bug, and this behavior is fixed (mongo-connector creates the oplog progress file if it doesn't exist) in commit 26abf7a38674f98e31630834a1e7cd2b1b535595

from mongo-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.