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

Recreating collection with different collation during collection cloning phase can causes initial sync attempt to fail

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.0
    • Replication
    • Replication
    • 0

    Description

      If a collection is dropped and recreated with different collation options between when the DatabaseCloner calls listCollections and when its CollectionCloner calls listIndexes, the initial sync attempt will fail.

      The failure happens during creation of the _id index, where IndexCatalog::_isSpecOk can throw a number of different collation related errors if the collation specified in the collection options is different to that of the _id index spec.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: