Fix: make sure no index is in flight before using inactivity beacons
[lttng-tools.git] / src / bin / lttng-relayd / stream.h
index 5aca693cce4a5ea131ac383909da542ecb309576..4dd2e627e773bc27878394a1e1a56a30ca5f1885 100644 (file)
@@ -76,6 +76,12 @@ struct relay_stream {
         * timestamp end, when it is active, this field == -1ULL.
         */
        uint64_t beacon_ts_end;
+       /*
+        * Number of indexes that are supposed to be complete soon.
+        * Avoid sending the inactivity beacon to the client when data is in
+        * transit.
+        */
+       int indexes_in_flight;
        /*
         * CTF stream ID, -1ULL when unset.
         */
This page took 0.03063 seconds and 4 git commands to generate.