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

Dissallow convertToCapped on capped collections

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

      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.

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

              Created:
              Updated:
              Resolved: