Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1176

Clarification for convertToCapped index warning

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      The convertToCapped docs page has a warning that states:

      Warning The convertToCapped will not recreate indexes from the original collection on the new collection. If you need indexes on this collection you will need to create these indexes after the conversion is complete.

      While the above is true for user created indexes, the _id index is created for the converted collection. We should clarify this point as it would be easy to assume it is not given current wording.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 50 weeks, 6 days ago