Github user mattf-horton commented on a diff in the pull request:
    --- Diff: 
    @@ -116,6 +122,9 @@ public void execute(Tuple tuple) {
           boolean ackTuple = !writer.handleAck();
           int numWritten = 0;
           if(sensorParserConfig != null) {
    +        if (configUpdatedFlag.getAndSet(false)) {
    --- End diff --
    Ah.  All that's needed is to fetch sensorParserConfig AFTER doing 
configUpdatedFlag.getAndSet(false).  So right before line 118 do
      boolean mustUpdateConfig = configUpdatedFlag.getAndSet(false); //must 
check before fetching sensorParserConfig
    then in the current line 125 use mustUpdateConfig instead of 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to