MCPcopy Create free account
hub / github.com/apache/kvrocks / FunctionSetLib

Method FunctionSetLib

src/server/server.cc:1932–1936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1930}
1931
1932Status Server::FunctionSetLib(const std::string &func, const std::string &lib) const {
1933 std::string func_name = engine::kLuaFuncLibPrefix + func;
1934 engine::Context ctx(storage);
1935 return storage->WriteToPropagateCF(ctx, func_name, lib);
1936}
1937
1938void Server::ScriptReset() {
1939 for (auto &wt : worker_threads_) {

Callers 1

RedisRegisterFunctionFunction · 0.80

Calls 1

WriteToPropagateCFMethod · 0.80

Tested by

no test coverage detected