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

Fix shardingStatistics' numHostsTargeted for tracked unsharded collections

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-12-25, CAR Team 2024-01-08, CAR Team 2024-01-22

      NumHostsTargetedMetrics::parseTargetType only returns 'kUnsharded' when there is no routing table (i.e. no chunks). However, tracked unsharded collections do have a routing table. This may cause operations on such collections to be accounted as 'oneShard' operations, rather than the expected 'unsharded'.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: