-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Upgrade from 3.1.2 to 4 has broken message delivery #2151
Comments
@binarymist what's the issue? you are getting an error? not getting messages? |
No error, but only getting messages for the tls tester. In saying that, occasionally we get messages for the app tester as well. Just FYI: We currently have two testers implemented app and tls. I'll continue debugging over the next few days as I get time and report back on any findings or lack of. At this stage, I'm just wondering if you see anything obvious in our changes that don't look right? The only changes in this change-set are to bring node redis up-to-date. Thanks. |
OK, so our changes to update the node redis client are all good? But something is broken. Have spent about a week on this all up so far... The three areas we narrowed down to and investigated:
Are there other undocumented changes or possibly documented changes we've missed? Thanks. |
Problems we had: redis/node-redis#2151
Would be good to get some feedback on this? |
@binarymist sorry it took so long, but I was on vacation... regarding point 3 - some commands have In order to see what a command returns you can:
if you want, I would like to try and debug those bugs with you on Monday (around 12 pm NYC time) |
Environment:
This is a continuation from #1870 (@leibale you were working on that). We had to release with version 3.1.2 (our existing version) as we couldn't keep consumers waiting any longer. Now circling back to work out what the actual issue is in hope that we can upgrade node redis.
At this stage it's hard to tell. We're not getting any errors. We've upgraded node redis to the latest now (4.1.0), read the Changelog again, been over the v3 to v4 MIgration Guide many times and made the required changes, also in line with createClient configuration.
This is our consolidated diff between the code that works with 3.1.2 (main branch) and the upgraded code to satisfy 4.1.0 requirements (binarymist/upgrade-incl-redis branch).
The most obvious place to be focussing on is in the testerWatcher.
We have two different communication techniques from our CLI to the orchestrator (Server Sent Events (
sse
), and long polling (lp
)). Thesse
appears to be working fine with the upgrade of node redis, but thelp
is not.The change you see in the get.js is only applicable to
sse
so I don't think there's any issue in get.js.We have multiple Test Sessions (each relly on their specific redis channel. The first one seems to work). The changes to the orchestrator.js are unlikely to be an issue if one of the redis channels is working, which leaves our foucs to the testerWatcher... and specifically
pollTesterMessages
.There is either something we've somehow missed changing with the upgrade, although I can't see this being the case as we've gone over your upgrade path a good number of times over the last few months. Or there is a bug in node redis. Either way it needs to be fixed in order for us to upgrade node redis.
A high level overview of our architecture can be seen here.
Thanks.
The text was updated successfully, but these errors were encountered: