Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix 'unreachable code' panic in Persistent Subscriptions #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryanw
Copy link

@ryanw ryanw commented Dec 6, 2024

I encountered this unreachable!() panic quite a lot when using Persistent Subscriptions. I'm not entirely sure the cause, but as I am hitting it then it's fair to say it's not "unreachable". By changing this to an Err it resolves my panic issue.

@CLAassistant
Copy link

CLAassistant commented Dec 6, 2024

CLA assistant check
All committers have signed the CLA.

@ryanw ryanw changed the title Fix 'unreachable code' panic when subscription drops Fix 'unreachable code' panic in Persistent Subscriptions Dec 6, 2024
@YoEight
Copy link
Member

YoEight commented Dec 6, 2024

Hey @ryanw,

Thanks for your contribution. The reason why that unreachable was there is because it shouldn't be reachable, thus there is a bug that needs fixing or at least we need to make sure if the motivation that lead to that decision is no longer valid.

I assume you are experiencing that issue quite reliably, would you mind sharing logs from the client or from the server? That would help narrow down the cause of what is happening here.

Also what version of the server are you using? What kind of topology are we talking about ? (single node or cluster).

I appreciate it might not be possible but would you be able to provide a reproducible snippet of your code causing that bug?

Thanks for your time.

@YoEight
Copy link
Member

YoEight commented Dec 9, 2024

Cluster tests are failing because the old docker-compose script is no longer available in ubuntu-latest. I will provide a patch tomorrow to address it.

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

Successfully merging this pull request may close these issues.

3 participants