Configs to support full history mode. (#252)

* Adding full history mode and max shard configs for primary and blob shards.

* Commenting validation checks for hpfs responses until bug is fixed.

* Comment update.
This commit is contained in:
Savinda Senevirathne
2021-02-19 14:45:25 +05:30
committed by GitHub
parent 6b8d60a404
commit a775b0e419
8 changed files with 109 additions and 46 deletions

View File

@@ -83,6 +83,14 @@ do
peers[i]="node${n}:${peerport}"
# Update config.
node_json=$(node -p "JSON.stringify({...require('./tmp.json').node, \
history: 'custom',\
history_config: {\
max_primary_shards: 4,\
max_blob_shards: 4\
}\
}, null, 2)")
contract_json=$(node -p "JSON.stringify({...require('./tmp.json').contract,
id: '3c349abe-4d70-4f50-9fa6-018f1f2530ab', \
bin_path: '$binary', \
@@ -113,6 +121,7 @@ do
}, null, 2)")
node -p "JSON.stringify({...require('./tmp.json'), \
node: ${node_json},\
contract: ${contract_json},\
mesh: ${mesh_json},\
user: ${user_json}, \