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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.0
    • Component/s: Replication
    • Labels:
    • Replication
    • 0

      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.

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

              Created:
              Updated: