Limit use of $_internalIndexKey to internal clients only

XMLWordPrintableJSON

    • Query Optimization
    • Fully Compatible
    • ALL
    • v9.0, v8.3, v8.2, v8.0, v7.0
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The $_internalIndexKey aggregation expression is registered via REGISTER_STABLE_EXPRESSION at src/mongo/db/pipeline/expression_sharding.cpp:128, which expands to AllowedWithClientType::kAny, making it accessible to any authenticated client rather than being restricted to internal (intra-cluster) clients via AllowedWithClientType::kInternal.

            Assignee:
            Matt Olma
            Reporter:
            Peter Volk
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: