You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (JIRA)" <ji...@apache.org> on 2019/07/03 01:17:00 UTC

[jira] [Resolved] (KUDU-2876) Audit the semantics and the usage of Tabet::GetComponents() in tablet.cc

     [ https://issues.apache.org/jira/browse/KUDU-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Serbin resolved KUDU-2876.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.11.0

[~oclarms] addressed this with changelist {{84098234d}}.

Thank you [~oclarms]!

> Audit the semantics and the usage of Tabet::GetComponents() in tablet.cc
> ------------------------------------------------------------------------
>
>                 Key: KUDU-2876
>                 URL: https://issues.apache.org/jira/browse/KUDU-2876
>             Project: Kudu
>          Issue Type: Task
>          Components: tserver
>    Affects Versions: 1.10.0
>            Reporter: Alexey Serbin
>            Assignee: Xu Yao
>            Priority: Minor
>             Fix For: 1.11.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)