anchor.diff:    `num_replicas_in_progress` int(11) NOT NULL,
     PRIMARY KEY (`inode_id`,`block_id`)
   ) ENGINE=ndbcluster DEFAULT CHARSET=latin1
  -/*!50100 PARTITION BY KEY (inode_id) */$$
  -
  -
  -delimiter $$
  -
  +/*!50100 PARTITION BY KEY (inode_id) */;
  +/*!40101 SET character_set_client = @saved_cs_client */;
  +
  +--
  +-- Dumping data for table `pending_blocks`
  +--
  +
  +LOCK TABLES `pending_blocks` WRITE;
  +/*!40000 ALTER TABLE `pending_blocks` DISABLE KEYS */;
  +/*!40000 ALTER TABLE `pending_blocks` ENABLE KEYS */;
  +UNLOCK TABLES;
  +
  +--
  +-- Table structure for table `quota_update`
  +--
  +
  +DROP TABLE IF EXISTS `quota_update`;
  +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  +/*!40101 SET character_set_client = utf8 */;
  +CREATE TABLE `quota_update` (
  +  `id` int(11) NOT NULL,
  +  `inode_id` int(11) NOT NULL,
  +  `namespace_delta` bigint(20) DEFAULT NULL,
  +  `diskspace_delta` bigint(20) DEFAULT NULL,
  +  PRIMARY KEY (`inode_id`,`id`)
  +) ENGINE=ndbcluster DEFAULT CHARSET=latin1
  +/*!50100 PARTITION BY KEY (inode_id) */;
  +/*!40101 SET character_set_client = @saved_cs_client */;
  +
  +--
  +-- Dumping data for table `quota_update`
  +--
  +
  +LOCK TABLES `quota_update` WRITE;
  +/*!40000 ALTER TABLE `quota_update` DISABLE KEYS */;
  +/*!40000 ALTER TABLE `quota_update` ENABLE KEYS */;
  +UNLOCK TABLES;
  +
  +--
  +-- Table structure for table `replica_under_constructions`
  +--
  +
  +DROP TABLE IF EXISTS `replica_under_constructions`;
  +/*!40101 SET @saved_cs_client     = @@character_set_client */;
  +/*!40101 SET character_set_client = utf8 */;
   CREATE TABLE `replica_under_constructions` (
     `inode_id` int(11) NOT NULL,
     `block_id` bigint(20) NOT NULL,
  
positive.code:   PRIMARY KEY (`inode_id`,`block_id`,`storage_id`),
    KEY `storage_idx` (`storage_id`)
  ) ENGINE=ndbcluster DEFAULT CHARSET=latin1
  /*!50100 PARTITION BY KEY (inode_id) */$$
  
  
  delimiter $$
  
  CREATE TABLE `leader` (
    `id` bigint(20) NOT NULL,
    `counter` bigint(20) NOT NULL,
  
negative.code:   `replica_index` int(11) NOT NULL,
    PRIMARY KEY (`inode_id`,`block_id`,`storage_id`)
  ) ENGINE=ndbcluster DEFAULT CHARSET=latin1
  /*!50100 PARTITION BY KEY (inode_id) */;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `replica_under_constructions`
  --
  
  LOCK TABLES `replica_under_constructions` WRITE;
  /*!40000 ALTER TABLE `replica_under_constructions` DISABLE KEYS */;
  /*!40000 ALTER TABLE `replica_under_constructions` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `replicas`
  --
  
  DROP TABLE IF EXISTS `replicas`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `replicas` (
    `inode_id` int(11) NOT NULL,
    `block_id` bigint(20) NOT NULL,
  