-
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-1925 Verify CouchDB connection upon peer startup
Motivation for this change: Upon peer startup, if CouchDB is configured for state database, need to verify connection to CouchDB. If can't connect to CouchDB provide a good error and halt peer startup. Currently, it fails upon the first chain creation step: Creating KVLedger ledgerID=myc1. Should check connection upon KVLedger provider creation. - Add connection verification to couchdb Change-Id: I3a3dc91463f230af1ee08b55ae595ece049eb4eb Signed-off-by: Chris Elder <chris.elder@us.ibm.com>
- Loading branch information
Chris Elder
committed
Feb 26, 2017
1 parent
22ede47
commit 148438e
Showing
3 changed files
with
109 additions
and
29 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
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