[tarantool-patches] Re: [PATCH] lua: fix for option changed by tarantoolctl

  • From: Georgy Kirichenko <georgy@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Mon, 23 Jul 2018 16:23:08 +0300

I am sorry but it is completelly wrong

+    if cfg.pid_file ~= default_cfg.pid_file then
+        log.warn("then using with tarantoolctl option 'pid_file' is
ignored") +        cfg.pid_file = default_cfg.pid_file
+    end
How should this fix the issue?

-            box.error(box.error.RELOAD_CFG, key);
+            -- then started with tarantoolctl this option is set to
+            -- default value, see #3214.
+            if key == "pid_file" then
What is it "pid_file"?

Attachment: signature.asc
Description: This is a digitally signed message part.

Other related posts: