-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-3555] Peer panic on SIGSEV connecting to CouchDB
A peer panic was encountered connecting to CouchDB on peer startup. This occurred in the code after multiple retries. The panic was caused by a null pointer when attempting to read the status code from an http return object. The http return object was already checked for an error. The situation causing the null pointer can only be caused if the golang http return has a nil for both the response and the error. According to golang spec this is not possible. An additional check is being made to ensure a good error message is returned from the CouchDB connection request. Change-Id: I13740a32231d49faf3a6acf7b37f7bc6e4bba3fa Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
- Loading branch information
Chris Elder
committed
Jun 13, 2017
1 parent
f5dbbaf
commit dc8d45f
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters