relayd: keep track of prev_index_seq in relayd_stream
[lttng-tools.git] / src / bin / lttng-relayd / stream.h
index fb3e1ed68b936e1fd7411273c4b7a9b338f76e0b..151ae25c1ad2be5f3243bc22094c186556a61b29 100644 (file)
@@ -53,6 +53,8 @@ struct relay_stream {
         */
        pthread_mutex_t lock;
        uint64_t prev_seq;              /* previous data sequence number encountered. */
+       /* previous index sequence number written to disk. */
+       uint64_t prev_index_seq;
        uint64_t last_net_seq_num;      /* seq num to encounter before closing. */
 
        /* FD on which to write the stream data. */
This page took 0.033041 seconds and 5 git commands to generate.