495496497498499500501502503504
sliceFailureCount[shardNum]++; throw new RuntimeException("bla"); } if (shardFailureCount[shardNum] < shardFailures) { shardFailureCount[shardNum]++; throw new ShardFailureException("Bad state"); } } successfulMapCount[shardNum]++; }