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

ExpressionContext::ns should be populated when resolved if find command only provides UUID

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.2.0-rc0
    • Component/s: None
    • Query Execution

      ExpressionContext constructor that takes const FindCommandRequest& findCmd constructs `ns` memer as

       

      findCmd.getNamespaceOrUUID().isNamespaceString() ? findCmd.getNamespaceOrUUID().nss()
      :NamespaceString{},

       
      Instead it should deduce namespace fro UUID.
       
       
       
      The same applies to constructor that takes DistinctCommandRequest

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            serhii.lysenko@mongodb.com Serhii Lysenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: