Brandon Rhys DeVries created NIFIREG-384:
--------------------------------------------
Summary: Can't save new version after partition allowed to fill to
100%
Key: NIFIREG-384
URL: https://issues.apache.org/jira/browse/NIFIREG-384
Project: NiFi Registry
Issue Type: Improvement
Affects Versions: 0.3.0
Reporter: Brandon Rhys DeVries
After the partition containing nifi registry was allowed to fill, it can no
longer save a new flow version. It appears as though the save *partialy*
occurred as the disk was filling. However, now the UI reports up to version
31, but when trying to save we see the error:
{code:java}
2020-04-10 09:48:55,667 ERROR
org.apache.nifi.registry.web.mapper.ThrowableMapper: An unexpected error has
occurred: org.apache.nifi.registry.flow.FlowPersistenceException: Unable to
save, a snapshot already exists with version 32. Retur
ning Internal Server Error response.
org.apache.nifi.registry.flow.FlowPersistenceException: Unable to save, a
snapshot already exists with version 32 {code}
To recover, I had to manually remove the directory:
{code:java}
/var/lib/nifiregistry/flow_storage/4fad39b1-cc20-4dbc-a41a-7f04e393a675/49fd76ae-041d-4509-aa7e-af24f1682f09/32
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)