-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Describe the bug
13:58:00.688 [pool-2-thread-3] ERROR com.teragrep.net_01.channel.context.IngressImpl - run() threw
java.lang.IllegalStateException: Cannot return wrapped ByteBuffer, BufferLease phaser was already terminated!
at com.teragrep.net_01.channel.buffer.BufferLeaseImpl.buffer(BufferLeaseImpl.java:84) ~[cfe_35.jar:0.0.1-SNAPSHOT]
at com.teragrep.rlp_03.frame.FrameClockLeaseful.submit(FrameClockLeaseful.java:67) ~[cfe_35.jar:0.0.1-SNAPSHOT]
at com.teragrep.rlp_03.frame.FrameDelegationClock.advance(FrameDelegationClock.java:76) ~[cfe_35.jar:0.0.1-SNAPSHOT]
at com.teragrep.net_01.channel.context.IngressImpl.run(IngressImpl.java:120) ~[cfe_35.jar:0.0.1-SNAPSHOT]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Causes rlp_10 sending thread to stall
Expected behavior
Works normally
How to reproduce
Start cfe_35 server, targetsLocalTest.json just points everything to local rlp_08 server
java -Dlog4j2.configurationFile=file:src/test/resources/log4j2.xml -DserverThreads=8 -Dcfe07LookupPath=src/test/resources/cfe_07 -Dcfe16LookupPath=src/test/resources/cfe_16 -Dkin02LookupPath=src/test/resources/kin_02 -DroutingTargetsConfig=src/test/resources/targets.json -DlistenPort=4600 -jar target/cfe_35.jar
Start rlp_08 server
java -DmetricsInterval=60 -Dthreads=8 -jar target/rlp_08-jar-with-dependencies.jar
Start rlp_10 towards cfe_35
java -Dthreads=32 -DmaxRecordsSent=1000000 -Dport=4600 -jar target/rlp_10-0.0.1-SNAPSHOT-jar-with-dependencies.jar
Screenshots
Software version
88ff40b9086c0d02db7a7a85e5158bff6b763b23 of branch to-9 in kortemik/cfe_35 repo
Desktop (please complete the following information if relevant):
- OS:
- Browser:
- Version:
Additional context