Reload a C module with all its functions without restarting the server.
Under the hood, Tarantool loads a new copy of the module (
*.soshared library) and starts routing all new request to the new version. The previous version remains active until all started calls are finished. All shared libraries are loaded with
RTLD_LOCAL(see “man 3 dlopen”), therefore multiple copies can co-exist without any problems.
Reload will fail if a module was loaded from Lua script with ffi.load().
- name (string) – the name of the module to reload
-- reload the entire module contents box.schema.func.reload('module')