projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: unhandled prev_seq initial value
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
main.c
diff --git
a/src/bin/lttng-relayd/main.c
b/src/bin/lttng-relayd/main.c
index f68ecdfbcbfe6ab9248c8603676a6a811e59d9aa..e3c070f8ba0330c2c297983456b385be19ad0513 100644
(file)
--- a/
src/bin/lttng-relayd/main.c
+++ b/
src/bin/lttng-relayd/main.c
@@
-1722,7
+1722,8
@@
int try_rotate_stream(struct relay_stream *stream)
goto end;
}
- if (stream->prev_seq < stream->rotate_at_seq_num) {
+ if (stream->prev_seq < stream->rotate_at_seq_num ||
+ stream->prev_seq == -1ULL) {
DBG("Stream %" PRIu64 " no yet ready for rotation",
stream->stream_handle);
goto end;
This page took
0.023796 seconds
and
4
git commands to generate.