Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svix server went to limbo when redis connection lost #1844

Open
vanhtuan0409 opened this issue Mar 25, 2025 · 0 comments
Open

Svix server went to limbo when redis connection lost #1844

vanhtuan0409 opened this issue Mar 25, 2025 · 0 comments

Comments

@vanhtuan0409
Copy link

Bug Report

We have a setup where the SVIX server uses redis as a queue mechanism.
Whenever redis get restart, the SVIX server will go to a limbo state because it cannot fetch new message from redis. Even after redis server recover, SVIX cannot detect such changes and recover itself

The log returned during the limbo state is

2025-03-25T05:25:03.359590Z ERROR svix_server::worker: Error receiving task: Error { trace: [Location { file: "/rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs", line: 250, col: 5 }, Location { file: "/app/svix-server/src/queue/mod.rs", line: 225, col: 14 }], typ: Queue("NOGROUP: No such key '{queue}_svix_v3_main' or consumer group 'svix_workers_group' in XREADGROUP with GROUP option") }

Which match the logic code at
https://github.com/svix/svix-webhooks/blob/main/server/svix-server/src/worker.rs#L994C1-L995C1

Version

v1.62.0

Platform

Linux svix-579b7c56d4-4qvhr 6.1.119-129.201.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Dec 3 21:07:35 UTC 2024 x86_64 GNU/Linux

Description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant