luger1990 opened a new issue, #585:
URL: https://github.com/apache/incubator-kvrocks/issues/585

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-kvrocks/issues) and found no 
similar issues.
   
   
   ### Version
   
   kvrocks:2.0.6
   
   ### Minimal reproduce step
   
   python code:
   ```
   import redis
   from redis.exceptions import (ConnectionError, TimeoutError)
   from redis.sentinel import Sentinel
   
   sentinel_instance_list = [('192.168.100.66', 5001),
                                          ('192.168.100.66', 5002),
                                          ('192.168.100.66', 5003)
                                         ]
   sentinel = Sentinel(sentinel_instance_list, socket_timeout=0.5)
   master = sentinel.discover_master('dev-kvrocks')
   print(master)
   print('-------')
   slaves = sentinel.discover_slaves('dev-kvrocks')
   print(slaves)
   ```
   
   ### What did you expect to see?
   
   ```
   ('192.168.100.66', 6666)
   -------
   [other slave node]
   
   ```
   
   ### What did you see instead?
   
   ```
   ('192.168.100.66', 6666)
   -------
   []
   
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to