queue.createTailer().toEnd() throws StreamCorruptedException
See original GitHub issueThis line of code:
queue.createTailer().toEnd()
occasionally throws a StreamCorruptedException.
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueStore.initIndex(SingleChronicleQueueStore.java:311)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue$StoreSupplier.acquire(SingleChronicleQueue.java:870)
at net.openhft.chronicle.queue.impl.WireStorePool.acquire(WireStorePool.java:97)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue.storeForCycle(SingleChronicleQueue.java:478)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.optimizedToEnd(SingleChronicleQueueExcerpts.java:1606)
at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueExcerpts$StoreTailer.toEnd(SingleChronicleQueueExcerpts.java:1581)
at net.openhft.chronicle.wire.AbstractWire.updateHeaderAssertions(AbstractWire.java:551)
at net.openhft.chronicle.wire.AbstractWire.updateHeader(AbstractWire.java:537)
at net.openhft.chronicle.queue.impl.single.SCQIndexing.newIndex(SCQIndexing.java:197)
at net.openhft.chronicle.queue.impl.single.SCQIndexing.initIndex(SCQIndexing.java:548)at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueStore.initIndex(SingleChronicleQueueStore.java:309)
... 16 common frames omitted
Any clues to what could the the issue?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
net.openhft.chronicle.queue.ExcerptTailer.toEnd java code ...
public void shouldAccessMessageHistoryWhenTailerIsMovedToEnd() throws Exception { ; try (final ChronicleQueue inputQueue = createQueue(inputQueueDir, 1); ; final ...
Read more >BufferUnderflowException in SCQIndexing.moveToEnd() #559
I'm getting a runtime exception in SCQIndexing.moveToEnd(). The exception occurs at two different locations in this method: either a ...
Read more >net.openhft.chronicle.queue.impl.single ... - Download JAR files
headerNumber() + 1) throw new IllegalStateException("Unable to move to index ... EOFException, StreamCorruptedException { setCycle(Math.max(queue.cycle(), ...
Read more >StreamCorruptedException on chronicle queue making the ...
... 15000ms but when creating a queue you can increase it by using builder#timeoutMS() to specify something that works in your environment.
Read more >net.openhft.chronicle.bytes.Bytes#writePosition - ProgramCreek.com
@Test public void testHash() { if ((testCounter % 250) == 0) { long newTime ... private void removeEOF(Path path) throws IOException { long...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Well that is a version where we had this issue. Try upgrading to latest and see if it can be reproduced.
@dpisklov yeah i’m not seeing this after updating to latest version. thanks.