Add Shard pool management

This commit is contained in:
Miguel Portilla
2020-04-06 15:34:27 -04:00
committed by manojsdoshi
parent d282b0bf85
commit 03c809371a
32 changed files with 2018 additions and 1555 deletions

View File

@@ -302,7 +302,8 @@ SHAMapStoreImp::copyNode(
SHAMapAbstractNode const& node)
{
// Copy a single record from node to dbRotating_
dbRotating_->fetch(node.getNodeHash().as_uint256(), node.getSeq());
dbRotating_->fetchNodeObject(
node.getNodeHash().as_uint256(), node.getSeq());
if (!(++nodeCount % checkHealthInterval_))
{
if (health())