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

Dissallow convertToCapped on capped collections

    XMLWordPrintableJSON

Details

    • Minor Change
    • Integration F (02/01/16)
    • 0

    Description

      This causes potential problems since:

      • Secondary indexes aren't created on the new collection
      • A DB lock is taken to copy the docs to the new collection
      • Using this with "system.profile" causes problems

      So instead we should return an error that the collection is already capped and the operation did not complete.

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: