|
|
@ -7754,6 +7754,7 @@ static void *socketer(__maybe_unused void *arg) |
|
|
|
LOGWARNING("Listener received shutdown message, terminating ckdb"); |
|
|
|
LOGWARNING("Listener received shutdown message, terminating ckdb"); |
|
|
|
snprintf(reply, sizeof(reply), "%s.%ld.ok.exiting", id, now.tv_sec); |
|
|
|
snprintf(reply, sizeof(reply), "%s.%ld.ok.exiting", id, now.tv_sec); |
|
|
|
send_unix_msg(sockd, reply); |
|
|
|
send_unix_msg(sockd, reply); |
|
|
|
|
|
|
|
everyone_die = true; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case CMD_PING: |
|
|
|
case CMD_PING: |
|
|
|
LOGDEBUG("Listener received ping request"); |
|
|
|
LOGDEBUG("Listener received ping request"); |
|
|
@ -7909,9 +7910,6 @@ static void *socketer(__maybe_unused void *arg) |
|
|
|
|
|
|
|
|
|
|
|
tick(); |
|
|
|
tick(); |
|
|
|
|
|
|
|
|
|
|
|
if (cmdnum == CMD_SHUTDOWN) |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (trf_root) |
|
|
|
if (trf_root) |
|
|
|
trf_root = free_ktree(trf_root, NULL); |
|
|
|
trf_root = free_ktree(trf_root, NULL); |
|
|
|
if (trf_store) { |
|
|
|
if (trf_store) { |
|
|
|