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

Better logging when timeout is exceeded with getLastError

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Query
    • Fully Compatible

      Currently when an operation exceeds the getLastError timeout value, we would see a message similar to the following:

      command admin.$cmd command: { getlasterror: 1, w: 2, wtimeout: 1000 } ntoreturn:1 reslen:112 1000ms
      

      Which is easily missed, and does not mention the actual problem - that the time out has been exceeded. A better log message indicating the that timeout had been exceeded would be more useful.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            andre.defrere@mongodb.com Andre de Frere
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: