Skip to content

[Bug] Pipeline Unwatch returns error. Incorrect handling of result #366

@alexyarovoy

Description

@alexyarovoy

Fred version - 10.1.0
Redis version - 6.2.6
Platform - linux
Deployment type - centralized

"unwatch()" called on pipeline returns error "Expected OK, found Queued."
Looks like protocol::utils::expect_ok expects string response to be "OK" or "QUEUED" and returns errors otherwise. As string response is "Queued" (not all uppercase) it returns error.

To Reproduce
Steps to reproduce the behavior:

let pipeline = client.pipeline();
pipeline.unwatch().await?; // we receive error here

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions