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

Add a warning to discourage people from setting failIndexKeyTooLong

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • Atlas, Server
    • None
    • 0.5
    • KANBAN BUCKET
    • true

    Description

      We have witnessed a number of cases when live migrations into Atlas were failing because the users had documents that violate the index key size limit (1024 Bytes). The users have also confirmed that they run MongoDB with failIndexKeyTooLong (so they could insert such documents).

      One part of the problem is that people are getting poor advice to set that parameter on sites like StackOverflow.

      The other part of the problem is that the documentation section that talks about failIndexKeyTooLong isn't really discouraging people from setting it unless there is a good reason to do so. I think we could fix it by adding a stronger message there.

      Attachments

        Issue Links

          Activity

            People

              jonathan.destefano@mongodb.com Jonathan DeStefano
              dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
              Jonathan DeStefano Jonathan DeStefano
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 45 weeks, 5 days ago