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

Remove LET sink expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0, 0.9.1, 0.9.1u1, 0.9.2
    • 0.9.3
    • Master, Node
    • None

    Description

      Flume Config's let statement does not have sane semantics

      Let was added to the config language to save resources in the DFO retry case. This however does not have well defined behavior when there are failures that occur. For example, if we had

      let foo := flakey in < foo ? { deco =>

      {deco => foo }

      } >

      While the semantics seem straight forward in the successful case (one open on flakey at the reference point, and then good to go), there could be many opens and close calls on the foo reference in cases where there are errors.

      One solution would reference count the foo. To have clear semantics, we would need likely need to tighten the close semantics so that only one close is allowed per open.

      Another is to just ignore or not use the let expression (Except for perhaps in testing situations).

      Attachments

        Issue Links

          Activity

            People

              jmhsieh Jonathan Hsieh
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: