We have a kie-server running with one stateless server using 7.52.0.FINAL. We are running into this known
bug. We are hitting this bug after the deployment unit has been up and has hit ~0.5 million calls. After this point, the response external-form DefaultFactHandle ids reach over Inteter.MAX_VALUE and cause this bug. In the response payload, it is unable to deserialize the fact section of the response. Here is an example response fact handle that cannot be deserialized in version 7.52.0.FINAL due to the number after the first colon
It looks like this bug was only fixed in version 8.x or later. How can we avoid this bug in 7.x? Is the only way to reset the fact counter by stopping and restarting the deployment unit? Alternatively, we don't use the fact handles returned by ruleServicesClient.executeCommandsWithResults, is there a way to prevent the fact handle list being returned in the response payload?
Here is an example JSON call
{
"lookup": "StatelessSession",
"commands": [
{
"insert": {
"object": {
"FakeFact": {
"primaryId": 33472,
"field1": "testField"
}
},
"out-identifier": "FakeFact",
"return-object": false,
"entry-point": "DEFAULT",
"disconnected": false
}
},
{
"start-process": {
"processId": "process-id",
"data": null,
"parameter": [],
"out-identifier": null
}
},
{
"get-objects": {
"class-object-filter": null,
"out-identifier": "outResultIdentifier"
}
}
]
}