diff options
author | Yuval Lifshitz <ylifshit@ibm.com> | 2023-07-05 20:33:55 +0200 |
---|---|---|
committer | Yuval Lifshitz <ylifshit@redhat.com> | 2023-10-06 11:54:56 +0200 |
commit | 7a11f1d574266d66239c7ea6b49130606ed810a0 (patch) | |
tree | d6a7049a2caa14c8343e71a02c1873e58333a90b /src/rgw/driver/daos/rgw_sal_daos.cc | |
parent | rgw/lua: install lua packages in temp directory (diff) | |
download | ceph-7a11f1d574266d66239c7ea6b49130606ed810a0.tar.xz ceph-7a11f1d574266d66239c7ea6b49130606ed810a0.zip |
rgw/lua/doc: support reloading lua packages on all RGWs
without requiring a restart of the RGWs
test instructions:
https://gist.github.com/yuvalif/95b8ed9ea73ab4591c59644a050e01e2
also use capitalized "Lua" in logs/doc
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Diffstat (limited to 'src/rgw/driver/daos/rgw_sal_daos.cc')
-rw-r--r-- | src/rgw/driver/daos/rgw_sal_daos.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/daos/rgw_sal_daos.cc b/src/rgw/driver/daos/rgw_sal_daos.cc index ebd6957d884..46db3dd654c 100644 --- a/src/rgw/driver/daos/rgw_sal_daos.cc +++ b/src/rgw/driver/daos/rgw_sal_daos.cc @@ -880,8 +880,8 @@ const std::string& DaosZone::get_current_period_id() { return current_period->get_id(); } -std::unique_ptr<LuaManager> DaosStore::get_lua_manager() { - return std::make_unique<DaosLuaManager>(this); +std::unique_ptr<LuaManager> DaosStore::get_lua_manager(const DoutPrefixProvider *dpp, const std::string& luarocks_path) { + return std::make_unique<DaosLuaManager>(this, dpp, luarocks_path); } int DaosObject::get_obj_state(const DoutPrefixProvider* dpp, |