BalancerStatsRegistry inappropriately constructs ResourceId outside ResourceIdFactory

XMLWordPrintableJSON

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

      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
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: