Analytics service might return "503 Service Unavailable" instead error code wrapped into JSON structure.
Error handling API was broken in analytics 7.1.0-2256
Invalid JSON parsed incorrectly as valid
The scenario that we saw this is in was a 4 node cluster running queries in a loop. Then the couchbase service is restarted on all nodes. The plaintext response was received from 172.23.111.131
Build couchbase-server-7.1.0-2242 contains cbas-core commit c639178 with commit message:
MB-48154: return errors as JSON
Sergey Avseyev I tried reproducing it by having a 2 node cluster and restarting the cbas service while running cbas queries in the loop, but I am unable to reproduce this issue. It seems you found this issue while running one of your tests, can you please rerun that test again and verify whether this issue has been fixed or not.
The change looks good, and also I see that MB-50876 also added "status" property into result.
Closing issue based on comment from Sergey Avseyev