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

Function appendVersionedMutation

fdbserver/ConfigDatabaseUnitTests.actor.cpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void appendVersionedMutation(Standalone<VectorRef<VersionedConfigMutationRef>>& versionedMutations,
45 Version version,
46 Optional<KeyRef> configClass,
47 KeyRef knobName,
48 Optional<KnobValueRef> knobValue) {
49 auto configKey = ConfigKeyRef(configClass, knobName);
50 auto mutation = ConfigMutationRef(configKey, knobValue);
51 versionedMutations.emplace_back_deep(versionedMutations.arena(), version, mutation);
52}
53
54class WriteToTransactionEnvironment {
55 std::string dataDir;

Callers 3

addMutationMethod · 0.85
addMutationMethod · 0.85

Calls 2

ConfigKeyRefClass · 0.85
ConfigMutationRefClass · 0.85

Tested by

no test coverage detected