ERROR MESSAGING.RUNTIME - StatisticsCollectionStepDefinition$DeleteZKTask.run() : Deletion of path:[/organizations//environments//apiproxies//customvariables] failed, it could be due to race condition or zookeeeper connection issue

What does this error in the MP log indicate?

0 2 98
2 REPLIES 2

Were you able to solve this ?

Not applicable

Hi @Akash Prabhashankar ,

All the statistics that you add in your policy are added to the ZK and you can check them using

get /organizations/$orgname/environments/$envname/apiproxies/$proxyname/customvariables

AFAIK If you have the statistics variable in more than one policy in the same bundle , I guess the path is deleted and a new one is created . (just the definition which you will see part of schema)

From the above error I believe you have more than 1 statistics collector policy in the same bundle and during the delete there might be some network issues .

I might be completely wrong but the above is based on my understanding .

Can you confirm if thats the case and if the behaviour is consistent ?

You can also enable debug logs for more information if you haven't tried already .