Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8908

Can't save new version after partition allowed to fill to 100%

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • NiFi Registry
    • None

    Description

      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:

       

      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 

      To recover, I had to manually remove the directory:

      /var/lib/nifiregistry/flow_storage/4fad39b1-cc20-4dbc-a41a-7f04e393a675/49fd76ae-041d-4509-aa7e-af24f1682f09/32 

      Attachments

        Activity

          People

            Unassigned Unassigned
            devriesb Brandon Rhys DeVries
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: