Commit 158e1f2b authored by Nick Craver's avatar Nick Craver

Fix for #296

Twemproxy handles this internally - we were incorrectly blocking it.
parent 4edebf2b
......@@ -1758,8 +1758,6 @@ private WriteResult TryPushMessageToBridge<T>(Message message, ResultProcessor<T
switch (server.ServerType)
{
case ServerType.Cluster:
case ServerType.Twemproxy: // strictly speaking twemproxy uses a different hashing algo, but the hash-tag behavior is
// the same, so this does a pretty good job of spotting illegal commands before sending them
if (message.GetHashSlot(ServerSelectionStrategy) == ServerSelectionStrategy.MultipleSlots)
{
throw ExceptionFactory.MultiSlot(IncludeDetailInExceptions, message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment