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

Fix undefined property Error in executeAutoPipeline #1425

Merged
merged 1 commit into from
Aug 30, 2021

Commits on Aug 27, 2021

  1. Fix undefined property warning in executeAutoPipeline

    Seen in an uncaughtException handler.
    
    ```
    err_type=uncaughtException, exiting cause=TypeError: Cannot read property 'Symbol(callbacks)' of undefined
        at Immediate.executeAutoPipeline (.../node_modules/ioredis/built/autoPipelining.js:34:31)
        at Shim.applySegment (.../node_modules/newrelic/lib/shim/shim.js:1430:20)
        at Immediate.wrapper (.../node_modules/newrelic/lib/shim/shim.js:2097:17)
        at processImmediate (internal/timers.js:463:21)
    ```
    
    A similar error was among the errors reported in
    redis#1248
    
    I suspect the process.exec might call the callback synchronously in the
    same tick in some cases, immediately deleting the autopipeline from
    running pipelines?
    TysonAndre committed Aug 27, 2021
    Configuration menu
    Copy the full SHA
    a8986c5 View commit details
    Browse the repository at this point in the history