| 464 | } |
| 465 | |
| 466 | const Value serverKeysValue(const UID& id) { |
| 467 | if (!id.isValid()) { |
| 468 | return serverKeysFalse; |
| 469 | } |
| 470 | |
| 471 | BinaryWriter wr(IncludeVersion(ProtocolVersion::withShardEncodeLocationMetaData())); |
| 472 | wr << id; |
| 473 | return wr.toValue(); |
| 474 | } |
| 475 | |
| 476 | void decodeServerKeysValue(const ValueRef& value, bool& assigned, bool& emptyRange, UID& id) { |
| 477 | if (value.size() == 0) { |
no test coverage detected