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

Long running operations should be logged periodically

    XMLWordPrintable

    Details

      Description

      Consider a long-running multi-delete operation that ends past the end of the logfile that we have (e.g. it ran for 24 hours on an active multi-TB collection). There would be no way to determine whether this op is running without analyzing db.currentOp() (which is not an easy task). And you also would need to know to look there.

      A good option would be to log all long-running operations periodically, let's say each 10 minutes or so.

        Attachments

          Activity

            People

            Assignee:
            backlog-query-execution Backlog - Query Execution
            Reporter:
            alex.komyagin Alexander Komyagin
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated: