Passthrough cube.js "continue wait" responses
What does this MR do and why?
Allow cube.js "Continue wait" responses to be read by the frontend as valid responses instead of errors
Testing Under Load
After testing with enough user data to cause a 'continue wait' scenario, the cube.js javascript library handles the retry mechanism just fine as long as the response is 200 OK
with error: Continue wait
. So this MR is sufficient to solve the original issue
How to set up and validate locally
- Setup the product analytics devkit according to it's instructions
- Setup the product analytics dashboard on a given project according to the devkit instructions
- Load a large number of test events into the clickhouse database for this project, you can use our gen_test_data script or any other source of data
- Check that the analytics dashboards for the project continue to load with no errors
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #416928 (closed)
Edited by Allen Cook