Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1511

Scribe-source doesn't handle zero message request correctly.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: Sinks+Sources
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dennyy Denny Ye
                Reporter:
                is Xin Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: