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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.10.0
    • 1.11.0
    • tserver
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: