class Redis::Distributed

def exec

Execute all commands issued after MULTI.
def exec
  raise CannotDistribute, :exec unless @watch_key
  result = node_for(@watch_key).exec
  @watch_key = nil
  result
end