mongodumping oplog with timestamp query

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.0.6
    • Component/s: Querying, Tools
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      we're trying to dump a part of our oplog.rs collection, buy issuing this query:

      mongodump -d local -c oplog.rs -q '{"ts":{"$gte": {"$timestamp":{"t":1343842923000,"i":0}}}}'
      

      but it doesn't output anything, even though this query from the mongo client gives 2 million results:

      db.oplog.rs.find({ts: {$gte: Timestamp(1343842923000, 0) } }).count()
      

      please help

              Assignee:
              Spencer Brody (Inactive)
              Reporter:
              Nemanja Dubravac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: