| 161 | } |
| 162 | |
| 163 | std::string getShardMappingKey(KeyRef key, StringRef prefix) { |
| 164 | return prefix.toString() + key.toString(); |
| 165 | } |
| 166 | |
| 167 | std::vector<std::pair<KeyRange, std::string>> decodeShardMapping(const RangeResult& result, StringRef prefix) { |
| 168 | std::vector<std::pair<KeyRange, std::string>> shards; |
no test coverage detected