This ticket will add a machanism in logtrace server, so that it can detect the logtrace owner terminated and does the flush right away to avoid losing traces from trace files.
--- old+++ new@@ -2,6 +2,6 @@
1) The size of trace buffer is big enough
2) It is over 15second from last flush
-So, there is a possibility of losing traces from trace files when the logtrace owner process is terminated, and short time later the node is rebooted; and the reboot happens before the logtrace server does the flush.+So, there is a possibility of losing traces from trace files when the logtrace owner process is terminated, and short time later the node is rebooted before the logtrace server does the flush.
This ticket adds a machanism in logtrace server, so that it can detect the logtrace owner terminated and do the flush right away to avoid losing traces.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -1,7 +1 @@-Logtrace server flushes traces from its own buffers into trace files in two cases:-1) The size of trace buffer is big enough-2) It is over 15second from last flush--So, there is a possibility of losing traces from trace files when the logtrace owner process is terminated, and short time later the node is rebooted before the logtrace server does the flush.--This ticket adds a machanism in logtrace server, so that it can detect the logtrace owner terminated and do the flush right away to avoid losing traces.+This ticket will add a machanism in logtrace server, so that it can detect the logtrace owner terminated and does the flush right away to avoid losing traces from trace files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Diff:
commit 9c34b746228c65f96bb894082c910ac59cc951ef (HEAD -> develop, origin/develop, ticket-3106)
Author: thien.m.huynh thien.m.huynh@dektech.com.au
Date: Fri Oct 25 15:18:06 2019 +0700