Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10419

Clarify whether system.profile.op includes distinct and count

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Triage
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • manual, Server

    Description

      The system.profile.op section lists distinct and count as possible values. However, the actual output from MongoDB 2.6 up to MongoDB 3.4 shows:

      > db.system.profile.find()
      {
        "op": "command",
        "ns": "test.test",
        "command": {
          "distinct": "test",
          "key": "a",
          "query": {
          ...
      

      which shows that distinct is a command op, and not an op in its own right. This is also the case with count.

      The current op list seems to be changed in DOCS-7700. Can this list be verified to be correct?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.adistambha@mongodb.com Kevin Adistambha
            Anthony Sansone Anthony Sansone (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              5 years, 14 weeks, 5 days ago