Properly handle errors when processing data size action response for defragmentation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 7.0.0-rc0, 6.0.5, 6.3.0-rc2
    • Component/s: None
    • Sharding EMEA
    • ALL
    • Sharding EMEA 2023-04-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In this line it is assumed that the response can be parsed as a StatusWith<DataSizeResponse>. However in case of errors it will be a simple Status.

      This will trigger an unhandled std::exception crashing the server. A solution would be to adopt the approach currently followed to handle exceptions when trying to parse a StatusWith<NumMergedChunks>.

              Assignee:
              Allison Easton
              Reporter:
              Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: