IlyaSkriblovsky / txredisapi

non-blocking redis client for python twisted
Apache License 2.0
235 stars 91 forks source link

sending AUTH before MASTER when connecting via Sentinel #122

Closed IlyaSkriblovsky closed 6 years ago

IlyaSkriblovsky commented 6 years ago

When connecting to a node via Sentinel, we are asking for its ROLE to ensure that it is master. But we should send AUTH before it if password is set.