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

Function persistTagMessagesKey

fdbserver/TLogServer.actor.cpp:230–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228static const KeyRef persistClusterIdKey = LiteralStringRef("clusterId");
229
230static Key persistTagMessagesKey(UID id, Tag tag, Version version) {
231 BinaryWriter wr(Unversioned());
232 wr.serializeBytes(persistTagMessagesKeys.begin);
233 wr << id;
234 wr << tag;
235 wr << bigEndian64(version);
236 return wr.toValue();
237}
238
239static Key persistTagMessageRefsKey(UID id, Tag tag, Version version) {
240 BinaryWriter wr(Unversioned());

Calls 3

UnversionedFunction · 0.85
serializeBytesMethod · 0.45
toValueMethod · 0.45

Tested by

no test coverage detected