[
https://issues.apache.org/jira/browse/NIFI-3766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann reassigned NIFI-3766:
--------------------------------------
Assignee: (was: Andy LoPresto)
> Improve user experience when migrating from legacy provenance repository to
> encrypted
> -------------------------------------------------------------------------------------
>
> Key: NIFI-3766
> URL: https://issues.apache.org/jira/browse/NIFI-3766
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core Framework
> Reporter: Andy LoPresto
> Priority: Major
> Labels: encryption, provenance, security, ux
>
> As reported during a review of NIFI-3594 / PR 1686, [~YolandaMDavis] was able
> to generate some unhelpful stacktraces and UI error dialogs when switching
> from {{PersistentProvenanceRepository}} (the legacy implementation that most
> users have selected) to the new {{EncryptedWriteAheadProvenanceRepository}}.
> I had only tested {{WriteAheadProvenanceRepository}} to and from
> {{EncryptedWriteAheadProvenanceRepository}}.
> In addition, switching between {{EWAPR}} and {{WAPR}} causes a small
> exception but the application functions as expected with the exception that
> previously written provenance events are no longer available. However, when
> switching from {{PPR}} to {{EWAPR}}, new provenance events are not written or
> queryable. This is obviously untenable moving forward.
> For now, documentation has been provided explaining that existing
> repositories must be deleted from disk before switching implementations to
> allow continued indexing and querying under the new implementation.
> The user experience should be improved to suppress the stacktrace and error
> dialogs and smoothly handle the migration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)