Skip to content

Conversation

@timvaillancourt
Copy link
Contributor

Fix broken reconnect logic in pbm-agent. Currently it reconnects in a loop with no delay:

ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 
ERROR[2019-02-09T16:09:35+01:00] Cannot connect to MongoDB at 127.0.0.1:27017: no reachable servers 

@timvaillancourt timvaillancourt merged commit 423ab9c into master Feb 9, 2019
@timvaillancourt timvaillancourt deleted the fix_agent_reconnect branch February 9, 2019 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant