Netflix / dynomite

A generic dynamo implementation for different k-v storage engines
Apache License 2.0
4.2k stars 533 forks source link

SELECT index predis #647

Open quah6o opened 5 years ago

quah6o commented 5 years ago

Hi,

we played around with dynomite and would like to use it in our application. We are using the predis client. Predis sends a initial SELECT 0 which breaks the connection to dynomite. Our application only uses the redis database 0 and we would like to return OK / ignore the select and continue. I am not that familiar with C. Can anyone give me a hint what we have to change to achieve that?

Best regards

mcouillard commented 5 years ago

Yeah, Lettuce does this, too, I'm afraid. More about it here: https://github.com/Netflix/dynomite/issues/551

ipapapa commented 5 years ago

You could just add the SELECT command in the following parser and should be fine. If you plan to do that just add a comment with the corresponding limitations.

arocki7 commented 5 years ago

We are having similar issues. Tried to use Dynomite along with 3Scale and Select Index failed.