ravinarayansingh commented on PR #7604:
URL: https://github.com/apache/nifi/pull/7604#issuecomment-1688779867

   > Thanks for the contribution @ravinarayansingh.
   > 
   > On initial review, supporting this feature raises some concerns. The 
created and modified timestamps are intended to reflect what actually occurred. 
With this optional flag, however, there is no indication that the timestamps do 
not reflect when a flow was actually created or modified. For this reason, 
supporting this option seems like it could raise potential usability and 
tracking issues.
   > 
   > Do you have any additional background for the motivation behind this 
change?
   
   Hi @exceptionfactory 
   
   I'm looking to upgrade a NiFi Registry that currently uses h2 and the 
Filesystem as a persistence provider. My goal is to enhance the registry by 
migrating to Postgres as the provider. During this transition, I need to ensure 
that the flows from the old registry are transferred to the new one while 
retaining their original authors and timestamps.
   
   The issue I've encountered is that the current behavior of the "create flow 
version" API only preserves the author information but not the timestamp. As a 
solution, I've submitted a pull request (PR) that addresses this concern.
   
   Thanks
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to