You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Script.Run() within a Redis pipeline/transaction, if a script hasn't been loaded (triggering NOSCRIPT), the method should automatically fall back to EVAL as it does in non-pipeline contexts. This is the documented behavior in the Run() method comment: "Run optimistically uses EVALSHA to run the script. If script does not exist it is retried using EVAL."
Current Behavior
When using Script.Run() within a pipeline/transaction, the NOSCRIPT fallback mechanism fails to work. The pipeline execution fails with "NOSCRIPT No matching script. Please use EVAL" instead of automatically falling back to EVAL.
Steps to Reproduce
Create a new Redis client and flush existing scripts
Create a pipeline
Attempt to run a script using Script.Run() within the pipeline
Expected Behavior
When using
Script.Run()
within a Redis pipeline/transaction, if a script hasn't been loaded (triggering NOSCRIPT), the method should automatically fall back to EVAL as it does in non-pipeline contexts. This is the documented behavior in theRun()
method comment: "Run optimistically uses EVALSHA to run the script. If script does not exist it is retried using EVAL."Current Behavior
When using
Script.Run()
within a pipeline/transaction, the NOSCRIPT fallback mechanism fails to work. The pipeline execution fails with "NOSCRIPT No matching script. Please use EVAL" instead of automatically falling back to EVAL.Steps to Reproduce
Script.Run()
within the pipelineMinimal reproduction:
Context (Environment)
The text was updated successfully, but these errors were encountered: