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

Initial sync should ignore multiple text indexes on same collection error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Backlog
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • Replication
    • Replication
    • ALL
    • v4.4
    • 0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              suganthi.mani@mongodb.com Suganthi Mani
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: