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

BalancerStatsRegistry inappropriately constructs ResourceId outside ResourceIdFactory

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.0
    • Component/s: Sharding
    • ALL

      Constructing `ResourceId`s outside of ResourceIdFactory is unsafe – see SERVER-70154 (which is an analogous situation) for more detail.

      BalancerStatsRegistry constructs a ResourceId here. This can crash the server.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: