Searched refs:kMaxShardCount (Results 1 – 5 of 5) sorted by relevance
108 const int kMaxShardCount = 1000; // write variable
207 CHECK_FAIL_RETURN_UNEXPECTED(shard_count_ != 0 && (shard_count_ <= kMaxShardCount), in InitByFiles()209 "is not int range (0, " + std::to_string(kMaxShardCount) + "]."); in InitByFiles()304 if (shard_count_ <= kMaxShardCount) { in SerializeHeader()
265 (*m).attr("MAX_SHARD_COUNT") = kMaxShardCount; in BindGlobalParams()
1002 if (shard_count_ <= kMaxShardCount) { in BreakIntoShards()1026 if (shard_count_ <= kMaxShardCount) { in WriteShardHeader()
527 CHECK_FAIL_RETURN_UNEXPECTED(shard_header_.GetShardCount() <= kMaxShardCount, in WriteToDatabase()