Xin Yu created FLUME-1511:
-----------------------------

             Summary: Scribe-source doesn't handle zero message request 
correctly.
                 Key: FLUME-1511
                 URL: https://issues.apache.org/jira/browse/FLUME-1511
             Project: Flume
          Issue Type: Bug
          Components: Sinks+Sources
    Affects Versions: v1.2.0, v1.3.0
            Reporter: Xin Yu
            Priority: Minor


ScribeSource deosn't handle the zero message request correctly.

When scribed sends zero message request like this:
 sent <0> messages to remote scribe server <dwen:1564>
The log receiver of scribe-source will return ResultCode.TRY_LATER.
The return value reultes that scribed falls into infinite loop to
retry to send the zero message request out, and the whole
message channel is blocked.

So I suggest that ResultCode.OK is returned when the size of
LogEntry list is 0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to