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

CollectionRoutingInfoTargeter should not create database on read operations

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.0.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • 0

      The CollectionRoutingInfoTargeter always attempts to create the database, regardless of the operation type. This causes some issues, e.g. with listIndexes, where in sharded clusters a read operation incorrectly creates a database, instead of returning NamespaceNotFound.

            Assignee:
            Unassigned Unassigned
            Reporter:
            yujin.kang@mongodb.com Yujin Kang Park
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: