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

Remove commands from embedded that shouldn't be available

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc2, 4.1.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Platforms 2018-03-26, Platforms 2018-05-07, Platforms 2018-05-21, Platforms 2018-06-04

      Description

      I ran listCommands on embedded and we currently have this set of commands, partitioned here into three groups, depending on what we believe should be the disposition of the command in embedded:

      Current:

      _hashBSONElement
      aggregate
      buildInfo
      collMod
      collStats
      configureFailPoint
      count
      create
      createIndexes
      currentOp
      dataSize
      dbStats
      delete
      distinct
      drop
      dropDatabase
      dropIndexes
      echo
      explain
      find
      findAndModify
      geoNear
      getLastError
      getMore
      getParameter
      getPrevError
      getShardMap
      insert
      isMaster
      killCursors
      killOp
      listCollections
      listCommands
      listDatabases
      listIndexes
      lockInfo
      ping
      planCacheClear
      planCacheClearFilters
      planCacheListFilters
      planCacheListPlans
      planCacheListQueryShapes
      planCacheSetFilter
      reIndex
      renameCollection
      repairCursor
      repairDatabase
      replSetGetStatus
      resetError
      serverStatus
      setBatteryLevel
      setParameter
      sleep
      trimMemory
      update
      validate
      

      Remove:

      getShardMap
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              henrik.edin Henrik Edin
              Reporter:
              henrik.edin Henrik Edin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: