]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/lua: create lua background manager before the frontends 48066/head
authoryuval Lifshitz <ylifshit@redhat.com>
Tue, 13 Sep 2022 10:10:21 +0000 (13:10 +0300)
committeryuval Lifshitz <ylifshit@redhat.com>
Tue, 13 Sep 2022 10:12:40 +0000 (13:12 +0300)
Fixes: https://tracker.ceph.com/issues/57518
issue was introduced in: d0424e842d283fb8309fcceb0a84effb16752e36

Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
src/rgw/rgw_main.cc

index b09902948d416ca6eac55ce959f65639d5fcb1b2..b9753893f654d277e5ccd0ef726ecab9e8dfb538 100644 (file)
@@ -156,9 +156,9 @@ int main(int argc, char *argv[])
   main.init_ldap();
   main.init_opslog();
   main.init_tracepoints();
+  main.init_lua();
   main.init_frontends2(nullptr /* RGWLib */);
   main.init_notification_endpoints();
-  main.init_lua();
 
 #if defined(HAVE_SYS_PRCTL_H)
   if (prctl(PR_SET_DUMPABLE, 1) == -1) {