Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2945

db.oplog.rs.find().sort({natural: - 1}) gives error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.6.0
    • Component/s: Querying
    • None
    • Environment:
      Linux 64 bit
    • Linux

      > db.oplog.rs.find().sort(

      {natural:-1}

      )
      > db.oplog.$main.find().sort(

      {natural:-1}

      )
      error: {
      "$err" : "too much data for sort() with no index. add an index or specify a smaller limit",
      "code" : 10128
      }
      > db.oplog.$main.find()

            Assignee:
            Unassigned Unassigned
            Reporter:
            mediamath MediaMath Mongo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: