cube icon indicating copy to clipboard operation
cube copied to clipboard

Cube.js with Redis IO library returns error during fail over.

Open javiramos1 opened this issue 3 years ago • 2 comments

Describe the bug

Cube.js with Redis IO library returns error during fail over.

To Reproduce Steps to reproduce the behavior:

  • Deploy Redis as a stateful set using sentinel, see: https://github.com/bitnami/charts/tree/master/bitnami/redis
  • Connect Cube.js to redis using sentinel.
  • Kill Master Pod.
  • Wait few seconds for Sentinel to elect a new master.

Expected behavior

Expected Results: Cube.js retries Redis calls and wait a few seconds or skips Redis and queries the source data. Actual Results: Cube.js API return error to the client.

Screenshots If applicable, add screenshots to help explain your problem.

Version: 0.29.21

javiramos1 avatar Jan 20 '22 17:01 javiramos1

If you are interested in working on this issue, please leave a comment below and we will be happy to assign the issue to you. If this is the first time you are contributing a Pull Request to Cube.js, please check our contribution guidelines. You can also post any questions while contributing in the #contributors channel in the Cube.js Slack.

github-actions[bot] avatar Jan 30 '22 02:01 github-actions[bot]

👋 a quick reminder that we will be replacing Redis with Cube Store as announced in this blog post.

rpaik avatar Jul 28 '22 05:07 rpaik

I believe that this issue is not relevant anymore since Cube Store has replaced Redis for query queue and cache management.

Docs: https://cube.dev/docs/product/deployment#redis

Announcement: https://cube.dev/blog/how-you-win-by-using-cube-store-part-1

igorlukanin avatar Sep 01 '23 12:09 igorlukanin