Chronicle 队列在 rollcycle 到达后的每个调用上写入moveToIndex日志。此日志仅在队列中没有可用消息时出现。这是预期的行为吗?如果appender长时间闲置有什么问题吗?excerptTailer.readDocument(message)
我有一个案例,即使附加程序仍然将消息写入队列,阅读器也会停止阅读消息并返回 false。但我无法找出场景。这就是我怀疑日志的原因。
日志如下,
16:52:19.783 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:20.784 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:21.785 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:22.785 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:23.786 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:24.787 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:25.787 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
16:52:26.788 [Chronicle Reader] DEBUG n.o.c.q.i.s.SingleChronicleQueueExcerpts$StoreTailer - moveToIndex: 17ec5f2 3
我的编年史队列版本:4.5.27