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

Initial sync should ignore multiple text indexes on same collection error

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Linked BF Score:
      18

      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

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              suganthi.mani Suganthi Mani
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: