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

Fix faulty warning message logged when sharding sessions collection with invalid options

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-03, CAR Team 2025-02-17
    • 1

      SERVER-97336 added a warning message when users are trying to create or shard the sessions collection with invalid options. The log line is using an invalid notation for printing the namespace.

      "Detected an invalid creation request for {nss}. To guarantee the correct behavior, the request will be replaced with a shardCollection with internal defaults"
      

      Purpose of this ticket is to replace {nss} with the actual config.system.sessions string.

            Assignee:
            annamaria.nestorov@mongodb.com Anna Maria Nestorov
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: