Randy Thomasson created NIFIREG-204:
---------------------------------------
Summary: Registry in Inconsistent State
Key: NIFIREG-204
URL: https://issues.apache.org/jira/browse/NIFIREG-204
Project: NiFi Registry
Issue Type: Bug
Reporter: Randy Thomasson
I am encountering a situation where the registry is in an inconsistent state
and appears to be corrupted.
Executing the REST API call to get all buckets responds with a list of two
buckets:
CICD
Development
If I copy the bucket ID for the CICD bucket from the response and plug it into
the /items bucket identifier and execute that call I get a 404 - The specified
bucket ID does not exist.
I have the Git persistence provider configured as well as the remote push and
there is no CICD folder in either the local flow storage directory or in GitHub
(where the remote is pushed) - just the folder for the Development bucket. So,
as far as I can tell there should be no CICD bucket.
The Registry UI shows the Bucket as existing with Flow versions in it. However,
any attempt to delete the CICD bucket from the Registry UI seems to take- the
page updates and no longer shows the CICD bucket but the UI also indicates and
that an unknown error occurred. Checking the log, there is a
FlowPersistenceException stating that the Bucket ID was not found. When I
refresh the page in the Registry UI, the CICD bucket is back again.
When I try to delete the bucket using the REST API I get a
ResourceNotFoundException stating that the specified bucket ID does not exist
in the registry. However, when I turn right around and call /buckets again -
there it is back in the response. The response shows canDelete: true and I
don't have security configured so I can't see that it's a permission issue.
So, I'm stuck. I can use the bucket and I can't delete it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)