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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.4.0
    • Sinks+Sources

    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

        1. FLUME-1511.patch
          1 kB
          Denny Ye

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: