You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Xinyu Liu (JIRA)" <ji...@apache.org> on 2019/03/06 01:06:00 UTC

[jira] [Created] (SAMZA-2122) Fix the task caught-up logic which doesn't handle no incoming messages

Xinyu Liu created SAMZA-2122:
--------------------------------

             Summary: Fix the task caught-up logic which doesn't handle no incoming messages
                 Key: SAMZA-2122
                 URL: https://issues.apache.org/jira/browse/SAMZA-2122
             Project: Samza
          Issue Type: Bug
            Reporter: Xinyu Liu
            Assignee: Xinyu Liu


Currently the TaskInstance.checkCaughtUp() logic has a bug that if there is no incoming messages for a partition, it will not mark the ssp to be caught up. Instead, it should mark ssp to be caught up if the starting offset is already the upcoming offset for a ssp, meaning it has consumed all the messages in this partition and waiting for the future incoming messages. This indicates the ssp is fully caught up.



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