Github user alopresto commented on the issue:

    https://github.com/apache/nifi/pull/1686
  
    @YolandaMDavis Thanks Yolanda. 
    
    During most of my testing, I did clear the repositories between application 
starts when switching the implementation (`rm -rf provenance_repository/ 
content_repository/ flowfile_repository/` from `$NIFI_HOME/conf`). I did run 
tests (at the time) where I left the repository intact (in each direction) and 
my notes are:
    
    ```
    -Verified switching from encrypted prov repo to plain will not allow access 
to previously-written events
                -Error in app log
                        -Suppress stacktrace?
                -App still starts
                -UI error dialog on prov query
                -New provenance events overwrite previous
                -New prov queries work
        -Verified switching from plain prov repo to encrypted will not allow 
access to previously-written events
                -Error in app log
                        -Suppress stacktrace?
                -App still starts
                -UI error dialog on prov query
                -New provenance events overwrite previous
                -New prov queries work
    ```
    
    I will re-evaluate those scenarios as soon as I finish reviewing PR 1712 
for Bryan. 
    
    I do think suppressing the stacktrace and providing a more descriptive 
error is a good idea and will tackle that as well. If it is determined there is 
a simple reason your queries were not working, great. If not, adding 
documentation instructing repository removal may be necessary. 


---
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