Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3756

When continued polling via the java driver using a resume token not in oplog, leads to mongos's crashing

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.4
    • Component/s: None
    • Labels:
      None

      Leads to:

      1. build up of cursor counts in mongod
      2. slow get-more queries
      3. high CPU usage in mongod
      4. high memory usage in mongos

      Observations:

      1. The maxAwaitTimeMS set in the watch command not honoured by queries in mongod - Does not return result nor empty within timeout 
      2. The cursor.getnext operation creating new connections and cursors behind the scenes
      3. If resume token is not matching any data, what is filling up in mongos memory?

            Assignee:
            rachelle.palmer@mongodb.com Rachelle Palmer
            Reporter:
            anmenon@adobe.com Anand Menon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: