Skip to content

HGETALL in a pipeline results in an exception #68

@ducharmemp

Description

@ducharmemp

call in a pipeline context returns nil always because the pipeline is gathering up all the results. When calling HGETALL, the protocol-redis gem wants to immediately turn the result of that call into a hash by calling each_slice(2) which explodes. Minimal repro:

REDIS.pipeline do |context|
  context.hgetall("foobar") # 💥 
end
REDIS.hgetall("foobar") # {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions