Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2876

Audit the semantics and the usage of Tabet::GetComponents() in tablet.cc

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.11.0
    • Component/s: tserver
    • Labels:
      None

      Description

      As of now, Tablet::GetComponents() is used in multiple places in the implementation of the kudu::tablet::Tablet class. In some cases the code verifies that the output parameter is null, in others not. And it seems in some cases returning null would be an error, in some cases not. It would be nice to do a bit of audit in that area to make sure there will be no unexpected SIGSEGV crashes in some corner cases.

        Attachments

          Activity

            People

            • Assignee:
              oclarms Xu Yao
              Reporter:
              aserbin Alexey Serbin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: