CodisLabs / codis

Proxy based Redis cluster solution supporting pipeline and scaling dynamically
MIT License
13.16k stars 2.69k forks source link

support for redis as service instances #804

Closed nvtkaszpir closed 8 years ago

nvtkaszpir commented 8 years ago

Is it possible to use codis with redis instances provided as service? For example to create codis as a layer above AWS ElastiCache Replication clusters (1 master 1 slave with autofailover)?

nvtkaszpir commented 8 years ago

Please provide reason of closing this issue ;)

spinlock commented 8 years ago

Hi @nvtkaszpir ,

Sorry for closing your issue. When you try to add a new redis instances, codis will send a "SLOTSINFO" command to it to verify if it supports slots migration. Maybe you need to remove this verification to meet your requirements.

https://github.com/CodisLabs/codis/blob/release3.1/pkg/topom/topom_api.go#L346 ~ L348