bulk data load errors in release 32
Posted: 12 May 2019 13:33
I've decided to give O2G another go in my provisioning solution. But, it fails right there at the data load (I cache various data so the GUI won't have to fetch it from the PBX every time somebody accesses the GUI). Data caches ist stuff like Entities, Costcenter, Device Templates, etc.
So I extract the list of objects, then I load every object returned in the list of objectIds (I can't use the attributes tag since that was broken from v029 to v032). So, loading my 2000 costcenters results in a majority of successful loads, and a couple dozen of 503s
Subsequent loads work, there doesn't seem to be any regularly, except that in every attempt I make, I have at least a handful of these. When I originally wrote the code, with the pre-release and 1.0 release, things worked fine, so something was broken in subsequent releases.
So I extract the list of objects, then I load every object returned in the list of objectIds (I can't use the attributes tag since that was broken from v029 to v032). So, loading my 2000 costcenters results in a majority of successful loads, and a couple dozen of 503s
Code: Select all
HTTP/1.1 503 Service Unavailable
Date: Sun, 12 May 2019 17:18:16 GMT
Server: Apache/2.4.23
Content-Length: 227
Connection: close
Content-Type: application/json
{"httpStatus":"SERVICE_UNAVAILABLE","code":1000,"helpMessage":"The server is not yet available. Please retry later if the initialization is not finished.","type":"NOT_READY","innerMessage":"Resource limitation","canRetry":true}