edward lui created NIFI-13845:
---------------------------------
Summary: Nifi upgrade from 1.2X to 2.X shouldn't lose state
Key: NIFI-13845
URL: https://issues.apache.org/jira/browse/NIFI-13845
Project: Apache NiFi
Issue Type: Bug
Reporter: edward lui
looks like the state WAL logic have been changed in nifi 2.0 and state are no
longer constructed the same way on start up as they were in 1.2X
{code:java}
2024-10-01 00:18:10,411 INFO [main] o.a.n.wali.SequentialAccessWriteAheadLog
Recovering records from Write-Ahead Log at ./state/local
2024-10-01 00:18:10,412 INFO [main] o.a.n.wali.SequentialAccessWriteAheadLog No
Snapshot File to recover from at ./state/local. Now r
Recovering records from 0 journal files {code}
^ this is what happens when you upgrade to 2.0 from 1.2X and it doesn't seem to
care
ref: [https://lists.apache.org/thread/5v59hbp18rpsboqc2q6f79h3b64803om,
https://community.cloudera.com/t5/Support-Questions/Losing-processor-s-state-on-nifi-upgrade/m-p/386981|https://lists.apache.org/thread/5v59hbp18rpsboqc2q6f79h3b64803om]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)