question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

queue.createTailer().toEnd() throws StreamCorruptedException

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dpisklovcommented, Jun 3, 2020

Well that is a version where we had this issue. Try upgrading to latest and see if it can be reproduced.

0reactions
avmohancommented, Jun 9, 2020

@dpisklov yeah i’m not seeing this after updating to latest version. thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found