You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2017/10/06 02:15:00 UTC

[jira] [Updated] (KUDU-2167) C++ client crashes when server filters out all data in a scan RPC

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

Adar Dembo updated KUDU-2167:
-----------------------------
    Affects Version/s: 1.2.1
                       1.3.1

> C++ client crashes when server filters out all data in a scan RPC
> -----------------------------------------------------------------
>
>                 Key: KUDU-2167
>                 URL: https://issues.apache.org/jira/browse/KUDU-2167
>             Project: Kudu
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.3.1, 1.4.0, 1.5.0, 1.2.1
>            Reporter: Adar Dembo
>            Assignee: Adar Dembo
>            Priority: Critical
>
> (this may affect older versions too; I only checked as far back as 1.4.0).
> A crash like this was observed in a test cluster:
> {noformat}
> *** Aborted at 1507079547 (unix time) try "date -d @1507079547" if you are using GNU date ***
> PC: @     0x7f41942410ad std::swap<>()
> *** SIGSEGV (@0x18) received by PID 12187 (TID 0x7f418d067840) from PID 24; stack trace: ***
>     @     0x7f4192d82390 (unknown)
>     @     0x7f41942410ad std::swap<>()
>     @     0x7f419120b51d kudu::RowwiseRowBlockPB::InternalSwap()
>     @     0x7f419120b4ed kudu::RowwiseRowBlockPB::Swap()
>     @     0x7f419400cf15 kudu::client::KuduScanBatch::Data::Reset()
>     @     0x7f4193f928f2 kudu::client::KuduScanner::NextBatch()
> {noformat}
> I've tracked this down to the client scanner code which assumes that if the previous scan request indicated that more results await, the next scan request must return data. There's at least one case where that isn't true: when the server filters out all data in the next scan request due to a predicate.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)