Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

READONLY mode for Redis backend? #129

@jmoon1506

Description

@jmoon1506

In the file "backend/redis/protocol.c" at line 104, it seems like Databroker calls the LINDEX command to read from a Redis server.

Is there any way to call the READONLY command before LINDEX, during the same transaction? This would let you read directly from a slave node in a cluster configuration.

Currently, Databroker closes the connection after each transaction is finished, so there's no way to modify the connection without changing these hard-coded commands.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions