-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Callbacks called twice #25159
Comments
Sorry for the delay. Will this fix be backported to 8.x? |
@gluwer On the one hand, b94ce57 does not cherry-pick cleanly to the 8.x-staging branch. And it landed in October, so you'd think that if it was going to land in 8.x, it would have landed by now. So that suggests "no". However... On the other hand, I don't see any Ultimately, it's probably up to some combination of: @nodejs/releasers @nodejs/backporters @cjihrig |
Node.js v8.x has reached the end-of-life and won't receive any fixes anymore. I am closing this since this issue only applies to Node.js v8.x. Other release lines received a fix. No matter if you run into this issue or not, please update to a newer Node.js version in case you still use v8.x. |
We were using 8.11.1 on production servers for some time now. After an update to 8.14.0 some of the server we started to receive below exception (only on the updated ones):
Async library checks if callback was fired twice which should not happen. The issue happens very rarely (once every 1-2 hours on one of many node processes handling 100 req/s), but sometimes it happens 3-4 times in a row in timespan of 100ms (the same node process). After reverting back to 8.11.1 issue is gone.
We cannot reproduce it locally to provide a sample test case. I assume it has to have something to do with recent security fixes and http module adding two setTimeouts or firing some event twice in case of http error/timeout (our node app is running in the cloud so this happens but rarely). I doubt that timer.js core module itself is the cause.
It may also be related to #23631, but there only 10.x is mentioned. We also do not think aby lib currently used by us refers to http2 module (only to http).
The text was updated successfully, but these errors were encountered: