Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-575

State from different profiles can be co-mingled incorrectly

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • 0.3.0
    • 0.3.1
    • None

    Description

      The ProfileBuilderBolt incorrectly assumes that it will only ever see a single [profile, entity] pair. The bolt maintains a single StellarExecutor that is responsible for executing the init, update, result expressions. This assumption is incorrect as Storm's field grouping only guarantees that the same profile/entity pairs will go to the same task. Storm does not guarantee that a task only receives a single profile/entity pair.

      The easiest fix is to maintain a cache that maps a profile/entity to its state. This would follow what is currently done in the Join bolt.

      Attachments

        Issue Links

          Activity

            People

              nickwallen Nick Allen
              nickwallen Nick Allen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment