nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apiri <...@git.apache.org>
Subject [GitHub] nifi-minifi pull request: MINIFI-13 created a provenance reporting...
Date Tue, 12 Apr 2016 20:40:39 GMT
Github user apiri commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi/pull/6#discussion_r59449408
  
    --- Diff: minifi-nar-bundles/minifi-provenance-reporting-bundle/minifi-provenance-reporting-task/src/main/java/org/apache/nifi/minifi/provenance/reporting/ProvenanceReportingTask.java
---
    @@ -251,6 +254,17 @@ public void onTrigger(final ReportingContext context) {
                 if (state.containsKey(LAST_EVENT_ID_KEY)) {
                     firstEventId = Long.parseLong(state.get(LAST_EVENT_ID_KEY)) + 1;
                 }
    +
    +            if(currMaxId < firstEventId){
    +                getLogger().debug("Current provenance max id is {} which is less than
what was stored in state as the last queried event, which was {}. This means the provenance
restarted it's " +
    --- End diff --
    
    super minor: it's -> its


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message