Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/459#discussion_r64097258
  
    --- Diff: 
nifi-nar-bundles/nifi-avro-bundle/nifi-avro-processors/src/main/java/org/apache/nifi/processors/avro/ConvertAvroToJSON.java
 ---
    @@ -92,6 +103,7 @@
             .build();
     
         private List<PropertyDescriptor> properties;
    +    private Schema schema = null;
    --- End diff --
    
    This could be marked by multiple different threads concurrently, so we need 
to make sure that it is protected. Marking it as 'volatile' should take care of 
this.


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

Reply via email to