Variable registry update is behaving stuck at 'Stopping affected Processors' though all effected processors are in STOPPED state
Hello Experts,
I am using below end point to send update variable registry request -
"/process-groups/<id>/variable-registry/update-requests" and check the status using below url in loop "/process-groups/<id>/variable-registry/update-requests/<variableRegistryUpdateId>".
It works well for some time and all of a sudden it starts behaving strange.
Status will not get change even after 200 times status api call with almost 2 mins wait total.
If we see the status api response , it shows like below - where it is stuck at 'Stopping affected Processors' stage , but if we look at effected processors, in one case there is not effected processors to stop and in another case all processors are already in stopped state but still it is not at progressing.
Any idea what could be the reason?
Update status check response
Case 1 :
{
"request": {
"requestId": "573b0dd9-6f14-4ca2-80d1-513d93451f22",
"uri": "https://o9nifi-1:9091/nifi-api/process-groups/9e391108-646a-3c3c-a642-a4fbce1d9107/variable-registry/573b0dd9-6f14-4ca2-80d1-513d93451f22",
"submissionTime": "04/24/2025 13:47:09.647 GMT",
"lastUpdated": "04/24/2025 13:47:09.647 GMT",
"complete": false,
"percentCompleted": 0,
"updateSteps": [
{
"description": "Identifying components affected",
"complete": true
},
{
"description": "Stopping affected Processors",
"complete": false
},
{
"description": "Disabling affected Controller Services",
"complete": false
},
{
"description": "Applying Updates",
"complete": false
},
{
"description": "Re-Enabling affected Controller Services",
"complete": false
},
{
"description": "Restarting affected Processors",
"complete": false
}
],
"processGroupId": "9e391108-646a-3c3c-a642-a4fbce1d9107",
"affectedComponents": []
}
}
Case 2:
{
"request" : {
"requestId" : "b5ed4d79-13d2-4dfb-b556-8409e1ddfea6",
"uri" : "https://o9nifi-1:9091/nifi-api/process-groups/9e391108-646a-3c3c-a642-a4fbce1d9107/variable-registry/b5ed4d79-13d2-4dfb-b556-8409e1ddfea6",
"submissionTime" : "04/24/2025 16:52:00.067 GMT",
"lastUpdated" : "04/24/2025 16:52:00.067 GMT",
"complete" : false,
"percentCompleted" : 0,
"updateSteps" : [ {
"description" : "Identifying components affected",
"complete" : true
}, {
"description" : "Stopping affected Processors",
"complete" : false
}, {
"description" : "Disabling affected Controller Services",
"complete" : false
}, {
"description" : "Applying Updates",
"complete" : false
}, {
"description" : "Re-Enabling affected Controller Services",
"complete" : false
}, {
"description" : "Restarting affected Processors",
"complete" : false
} ],
"processGroupId" : "9e391108-646a-3c3c-a642-a4fbce1d9107",
"affectedComponents" : [ {
"revision" : {
"clientId" : "685687f8-0196-1000-340d-d586d2c6d581",
"version" : 10
},
"id" : "2b0e0d15-5e1c-341c-87b1-421a39a81200",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "8a5d122b-b08b-30aa-b794-a2884fd31d45",
"id" : "2b0e0d15-5e1c-341c-87b1-421a39a81200",
"referenceType" : "PROCESSOR",
"name" : "O9QueueRouting",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "8a5d122b-b08b-30aa-b794-a2884fd31d45",
"name" : "test1"
},
"referenceType" : "PROCESSOR"
}, {
"revision" : {
"clientId" : "685687f8-0196-1000-340d-d586d2c6d581",
"version" : 5
},
"id" : "11479904-0add-3d9f-b489-1024c46275c3",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "7a9a49dc-b361-394b-93d2-6cfb83f6b85c",
"id" : "11479904-0add-3d9f-b489-1024c46275c3",
"referenceType" : "PROCESSOR",
"name" : "RouteOnAttribute",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "7a9a49dc-b361-394b-93d2-6cfb83f6b85c",
"name" : "CheckRequestStatus"
},
"referenceType" : "PROCESSOR"
}, {
"revision" : {
"version" : 0
},
"id" : "2b0e0d15-5e1c-341c-a8d0-58edec551d2d",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "8a5d122b-b08b-30aa-a844-848d88e69396",
"id" : "2b0e0d15-5e1c-341c-a8d0-58edec551d2d",
"referenceType" : "PROCESSOR",
"name" : "O9QueueRouting",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "8a5d122b-b08b-30aa-a844-848d88e69396",
"name" : "two1"
},
"referenceType" : "PROCESSOR"
}, {
"revision" : {
"version" : 0
},
"id" : "2b0e0d15-5e1c-341c-893a-07179a37b42c",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "8a5d122b-b08b-30aa-a4a8-c6402262c60e",
"id" : "2b0e0d15-5e1c-341c-893a-07179a37b42c",
"referenceType" : "PROCESSOR",
"name" : "O9QueueRouting",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "8a5d122b-b08b-30aa-a4a8-c6402262c60e",
"name" : "two22"
},
"referenceType" : "PROCESSOR"
}, {
"revision" : {
"version" : 0
},
"id" : "2b0e0d15-5e1c-341c-acab-14e6adfe64da",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "8a5d122b-b08b-30aa-b227-72500a7c62cc",
"id" : "2b0e0d15-5e1c-341c-acab-14e6adfe64da",
"referenceType" : "PROCESSOR",
"name" : "O9QueueRouting",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "8a5d122b-b08b-30aa-b227-72500a7c62cc",
"name" : "two33"
},
"referenceType" : "PROCESSOR"
}, {
"revision" : {
"clientId" : "685687f8-0196-1000-340d-d586d2c6d581",
"version" : 5
},
"id" : "2c48b295-2093-3bd2-a45a-d50c6d95cb8b",
"permissions" : {
"canRead" : true,
"canWrite" : true
},
"bulletins" : [ ],
"component" : {
"processGroupId" : "7a9a49dc-b361-394b-93d2-6cfb83f6b85c",
"id" : "2c48b295-2093-3bd2-a45a-d50c6d95cb8b",
"referenceType" : "PROCESSOR",
"name" : "ReplaceText",
"state" : "STOPPED",
"activeThreadCount" : 0
},
"processGroup" : {
"id" : "7a9a49dc-b361-394b-93d2-6cfb83f6b85c",
"name" : "CheckRequestStatus"
},
"referenceType" : "PROCESSOR"
} ]
}
}
Thanks,
Mahendra

