Dan Burkert created KUDU-1606:
---------------------------------

             Summary: Crasher when accessing tablet page of failed tablet
                 Key: KUDU-1606
                 URL: https://issues.apache.org/jira/browse/KUDU-1606
             Project: Kudu
          Issue Type: Bug
          Components: tserver
    Affects Versions: 0.10.0
            Reporter: Dan Burkert
            Priority: Critical


When accessing the tablet page of a failed tablet, the Kudu tserver 
dereferences a null pointer. 

https://github.com/apache/kudu/blob/master/src/kudu/tserver/tserver-path-handlers.cc#L322

The tablet won't have a consensus instance.

Steps to repro:

1. Create a table with a single tablet, single replica.
2. Load enough data to have the WAL roll a segment
3. Corrupt the magic bytes of a non-current segment
4. Restart the TS
5. Hit the endpoint for the tablet (e.g. 
/tablet?id=2e3b95dba81044748a9a52eb138dd59c)
6. kaboom



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to