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

Initial sync should ignore multiple text indexes on same collection error

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication
    • ALL
    • v4.4
    • 0

      After SERVER-32225, users will be able to create multiple text indexes on a single collection. SERVER-32225 actually relaxes the constraint only for system (internal) connections but the rule "one text index per collection" applies to user connections. When the user tries to create indexes on a primary, the actual index building part , spec creation & spec validity check are done by the internal (system) worker thread "IndexBuildsCoordinatorMongod" and not by the parent(user) thread. So, technically a user connection will be able to create multiple text indexes. 

      EDIT: This ticket will be repurposed to fix the issue mentioned in SERVER-32225.

            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            suganthi.mani@mongodb.com Suganthi Mani
            0 Vote for this issue
            8 Start watching this issue