[
https://issues.apache.org/jira/browse/KUDU-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Percy updated KUDU-1991:
-----------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
Target Version/s: 1.4.0
Status: Resolved (was: In Review)
Merged in
https://github.com/apache/kudu/commit/d0ffa4ac6e2b383832ebe1ca377081aa93b01d77
> Master does not retry TS maintenance task if target TS not registered
> ---------------------------------------------------------------------
>
> Key: KUDU-1991
> URL: https://issues.apache.org/jira/browse/KUDU-1991
> Project: Kudu
> Issue Type: Bug
> Components: master
> Affects Versions: 1.3.1
> Reporter: Mike Percy
> Assignee: Mike Percy
> Fix For: 1.4.0
>
>
> If a master had just started up and gets a heartbeat from a tablet server
> that triggers some action on another tablet server (for example, tombstoning
> an evicted replica or adding a new replica to an under-replicated tablet
> config) then if the target tablet server (for example, the replica that the
> master thought was the leader) has not yet registered with the master (since
> its restart) the action will fail to be sent and will not be retried.
> This is because:
> # There is a logic error in the catalog manager task management code that
> assumes all tablet servers have registered with the master at the time a task
> is started; and
> # These kinds of tasks are edge-triggered (based on a response to a tablet
> report) instead of level-triggered (based on periodic state polling) on the
> master side.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)