Skip to content

'keyPrefix' not working when command is in capital letter  #1933

@eran-kr-MA

Description

@eran-kr-MA

const client = new Redis.Cluster(redisConnection, {
redisOptions: {
keyPrefix: 'eran:'
},
keyPrefix: 'eran:' // known issue that keyPrefix inside redisOptions is not working
})

client.call('set', 'x1', '1') -> will save 'eran:x1' with value '1'
client.call('SET', 'x1', '1') -> will save 'x1' with value '1'

TNX

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