docker-compose


Fabric Network - what happens when a downed peer connects back to the network?


I recently deployed the fabric network using Docker-compose, I was trying to simulate a downed peer. Essentially this is what happens:
4 peers are brought online using docker-compose running a fabric network
1 peer i.e the 4th peer goes down (done via docker stop command)
Invoke transactions are sent to the root peer which is verified by querying the peers after sometime (excluding the downed peer).
The downed peer is brought back up with docker start. Query transaction run fine on the always on peers but fail on the newly woken up peer.
Why isn't the 4th peer synchronizing the blockchain, once its up.Is there a step to be taken to ensure it does? Or is it discarded as a rogue peer.
This might be due to the expected behavior of PBFT (assuming you are using it). As explained on issue 933,
I think what you're seeing is normal PBFT behavior: 2f+1 replicas are
making progress, and f replicas are lagging slightly behind, and catch
up occasionally.
If you shut down another peer, you should observe
that the one you originally shut off and restarted will now
participate fully, and the network will continue to make progress. As
long as the network is making progress, and the participating nodes
share a correct prefix, you're all good. The reason for f replicas
lagging behind is that those f may be acting byzantine and progress
deliberately slowly. You cannot tell a difference between a slower
correct replica, and a deliberately slower byzantine replica.
Therefore we cannot wait for the last f stragglers. They will be left
behind and sync up occasionally. If it turns out that some other
replica is crashed, the network will stop making progress until one
correct straggler catches up, and then the network will progress
normally.
Hyperledger Fabric v0.6 does not support add peers dynamically. I am not sure for HF v1.0.

Related Links

Docker Toolbox Windows - Invalid volume specification
use nvidia-docker-compose launch a container, but exited soon
Why doesn't docker-compose 'down' take an optional [SERVICEā€¦] argument?
why does docker-compose build trigger a rebuild when nothing changed
Disable autostart of docker-compose project
Docker-compose Error-Mean Stack Application won't get loaded with the data from mongodb container
docker-compose Windows volume
Trying to figure out why eslint-watch doesn't work with docker-compose correctly
docker-compose the latest stable version on ubuntu
docker compose environment variable for command
java.net.UnknownHostException: failed to resolve 'inventory-microservice'. Exceeded max queries per resolve 3
What does working_dir tag mean in a docker-compose yml file
If I upgrade an image in docker-compose, will its volumes be lost?
How to solve this docker-compose upgrading error?
Fabric Network - what happens when a downed peer connects back to the network?
Docker-compose and load balancing

Categories

HOME
joomla
msbuild
redux
intellij-idea
ns2
gsm
android-ndk
gap-system
liquibase
highmaps
x86-64
nltk
artifactory
thermal-printer
pdf-generation
digital
point-of-sale
decoding
appsettings
luis
facebook-marketing-api
virtuemart
wallet
google-calendar-api3
computation-theory
custom-component
smali
ng-tags-input
onclicklistener
priority-queue
suitescript
rollupjs
ds-5
textview
opencsv
ibm-bpm
offset
imageprocessor
matlab-compiler
mkdir
border-layout
stochastic-process
nscollectionview
ngrok
cowboy
observer-pattern
ng-lightning
ui-grid
google-chrome-console
file-descriptor
ape-phylo
bzip2
web-technologies
binary-decision-diagram
wufoo
serverless-architecture
react.rb
evaluation
runtime-permissions
perldoc
intermediate-language
webmatrix
try-catch-finally
dynatable
timex
robotc
sharing
stringbuilder
copy-constructor
eclipse-mars
access-violation
settext
xcode7.1
jira-agile
netlink
qtruby
database-administration
treelist
periodic-processing
factorization
video-embedding
google-app-engine-php
javapackager
bootstrap-tabs
joomla3.3
grails-3.0.9
accpac
teamstudio-unplugged
launcher
pytz
reactjs-native
satisfiability
mongoid4
zend-db-table
typography
xrandr
google-checkout
magicsuggest
mmo
boost.build
linqdatasource
feincms
gssapi
expresso-store
diazo
recess
designated-initializer
noise-reduction
lgpl
dojox.gfx
moores-law

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App