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

Remove commands from embedded that shouldn't be available

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc2, 4.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v4.0
    • Platforms 2018-03-26, Platforms 2018-05-07, Platforms 2018-05-21, Platforms 2018-06-04

      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
      

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

              Created:
              Updated:
              Resolved: