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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 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:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: