If created SonicV2Connector object with wrong password and try connecting to a database like following:
sonic_db=swsssdk.SonicV2Connector(password="wrong_password")
sonic_db.connect("COUNTERS_DB")
swsssdk infinitely logging following warning messages and application is blocked forever, In case of wrong password a specific exception should be raised and function interface.py->_persistent_connect() should return immediately rather than retrying infinitely.
[2022-09-13 16:37:21,960][WARNING][swsssdk] Connecting to DB '2 COUNTERS_DB' failed, will retry in 10s
If created SonicV2Connector object with wrong password and try connecting to a database like following: sonic_db=swsssdk.SonicV2Connector(password="wrong_password") sonic_db.connect("COUNTERS_DB")
swsssdk infinitely logging following warning messages and application is blocked forever, In case of wrong password a specific exception should be raised and function interface.py->_persistent_connect() should return immediately rather than retrying infinitely.
[2022-09-13 16:37:21,960][WARNING][swsssdk] Connecting to DB '2 COUNTERS_DB' failed, will retry in 10s
related issue - https://github.com/STORDIS/monsoon/issues/7