MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getMetadataHash

Function getMetadataHash

src/Databases/DatabaseReplicated.cpp:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166static inline UInt64 getMetadataHash(const String & table_name, const String & metadata)
167{
168 SipHash hash;
169 hash.update(table_name);
170 hash.update(metadata);
171 return hash.get64();
172}
173
174DatabaseReplicated::~DatabaseReplicated() = default;
175

Callers 12

getMetadataHashMethod · 0.85
startupDatabaseAsyncMethod · 0.85
checkDigestValidMethod · 0.85
recoverLostReplicaMethod · 0.85
dropTableMethod · 0.85
renameTableMethod · 0.85
commitCreateTableMethod · 0.85
commitAlterTableMethod · 0.85

Calls 2

updateMethod · 0.45
get64Method · 0.45

Tested by

no test coverage detected