MCPcopy Create free account
hub / github.com/apple/foundationdb / decodeServerListValue

Function decodeServerListValue

fdbclient/SystemData.cpp:777–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775}
776
777StorageServerInterface decodeServerListValue(ValueRef const& value) {
778 StorageServerInterface s;
779 BinaryReader reader(value, IncludeVersion());
780
781 if (!reader.protocolVersion().hasStorageInterfaceReadiness()) {
782 reader >> s;
783 return s;
784 }
785
786 return decodeServerListValueFB(value);
787}
788
789Value swVersionValue(SWVersion const& swversion) {
790 auto protocolVersion = currentProtocolVersion();

Calls 3

IncludeVersionFunction · 0.85
decodeServerListValueFBFunction · 0.85
protocolVersionMethod · 0.45