CollectionRoutingInfoTargeter should not create database on read operations

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Yujin Kang Park
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: