Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: v0.9.0, v0.9.1, v0.9.1u1, v0.9.2
    • Fix Version/s: v0.9.3
    • Component/s: Master, Node
    • Labels:
      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

              • Assignee:
                jon Jonathan Hsieh
                Reporter:
                jon Jonathan Hsieh
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: