Skip to main content

Understanding on node catchuphow nodes catch up

I have set up a private network of 4 nodes.

Out of 4 nodes I am writing history in one node only.

FollowingHere is the config of node1  :

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

put="cp {0} /tmp/node1/sweta/history/vs/{1}"

mkdir="mkdir -p /tmp/node1/sweta/history/vs/{0}"

[HISTORY.vs]
get="cp /tmp/node1/sweta/history/vs/{0} {1}"

put="cp {0} /tmp/node1/sweta/history/vs/{1}"

mkdir="mkdir -p /tmp/node1/sweta/history/vs/{0}"

In other nodes I am getting history from node 1. FollowingHere is the history config of the other nodes:

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

[HISTORY.vs]
get="cp /tmp/node1/sweta/history/vs/{0} {1}"

Note: All nodes are inon the same ec2 instance.

My query is if node1 due to some reason stops, then how will the network will come in sync?

Understanding on node catchup

I have set up a private network of 4 nodes.

Out of 4 nodes I am writing history in one node only.

Following is config of node1  :

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

put="cp {0} /tmp/node1/sweta/history/vs/{1}"

mkdir="mkdir -p /tmp/node1/sweta/history/vs/{0}"

In other nodes I am getting history from node 1. Following is the history config of other nodes:

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

Note: All nodes are in same ec2 instance.

My query is if node1 due to some reason stops, then how will the network will come in sync?

Understanding how nodes catch up

I have set up a private network of 4 nodes.

Out of 4 nodes I am writing history in one node only.

Here is the config of node1:

[HISTORY.vs]
get="cp /tmp/node1/sweta/history/vs/{0} {1}"

put="cp {0} /tmp/node1/sweta/history/vs/{1}"

mkdir="mkdir -p /tmp/node1/sweta/history/vs/{0}"

In other nodes I am getting history from node 1. Here is the history config of the other nodes:

[HISTORY.vs]
get="cp /tmp/node1/sweta/history/vs/{0} {1}"

Note: All nodes are on the same ec2 instance.

My query is if node1 due to some reason stops, then how will the network will come in sync?

Source Link
sweta
  • 239
  • 1
  • 7

Understanding on node catchup

I have set up a private network of 4 nodes.

Out of 4 nodes I am writing history in one node only.

Following is config of node1 :

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

put="cp {0} /tmp/node1/sweta/history/vs/{1}"

mkdir="mkdir -p /tmp/node1/sweta/history/vs/{0}"

In other nodes I am getting history from node 1. Following is the history config of other nodes:

[HISTORY.vs] get="cp /tmp/node1/sweta/history/vs/{0} {1}"

Note: All nodes are in same ec2 instance.

My query is if node1 due to some reason stops, then how will the network will come in sync?