Add initialization check for optional in ConfigSvrStartShardDrainingCommand

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-12-22, CAR Team 2026-01-05
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ConfigSvrStartShardDrainingCommand is currently accesing the content of the `progress` optional variable without checking if it has been previously initialized (here).
      As part of this ticket, we should add a check to verify that it has been initialized to safely access its content.

       

            Assignee:
            Anna Maria Nestorov
            Reporter:
            Anna Maria Nestorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: