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

Dissallow convertToCapped on capped collections

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Admin, Storage
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Integration F (02/01/16)
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: