Mike Percy created KUDU-2106:
--------------------------------
Summary: Tombstoned replicas should store last-logged opid even if
in error state
Key: KUDU-2106
URL: https://issues.apache.org/jira/browse/KUDU-2106
Project: Kudu
Issue Type: Bug
Components: consensus
Affects Versions: 1.4.0
Reporter: Mike Percy
At the time of writing, Kudu will only store the last-logged opid in the
TabletMetadata if the replica being tombstoned was successfully started first.
If the replica failed to start up, we will not be able to determine the
last-logged opid.
In such cases, if the problem does not involve WAL corruption, it would be much
better to try and read the WAL itself to determine the last-logged opid as a
special case before tombstoning the replica. A bonus is that this can even be
done after the replica has been fully shut down.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)