[ https://issues.apache.org/jira/browse/CASSANDRA-14394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441707#comment-16441707 ]
Paulo Motta edited comment on CASSANDRA-14394 at 4/18/18 2:58 AM: ------------------------------------------------------------------ {quote}Ah, looks like 13938. Now I feel less bad about breaking something in what was meant to be a minor refactor. Encourage either of you to commit the dtest with/without proving it's a dupe. {quote} -The funny thing is that during bissect I noticed that this starts failing consistently after CASSANDRA-14260, but after investigating I haven't found anything there that broken this, so I think this is some timing/synchronization bug that became more likely after 14260. o- edit: I confirmed this reproduces consistently after CASSANDRA-12229 (and not CASSANDRA-14260), I probably screwed something up in the previous bisect. {quote}I think it might be a dupe of CASSANDRA-13938, introduced by CASANDRA-12229 {quote} Good call, I did a quick search on google of " stream can only read forward" and found only CASSANDRA-8314 so I thought it was a new issue, next time I will use the JIRA search bar. :) I will close this as dupe of CASSANDRA-13938 for now. Feel free to reopen if this is not the case and to include the dtest on that Thanks for the quick feedback! was (Author: pauloricardomg): bq. Ah, looks like 13938. Now I feel less bad about breaking something in what was meant to be a minor refactor. Encourage either of you to commit the dtest with/without proving it's a dupe. The funny thing is that during bissect I noticed that this starts failing consistently after CASSANDRA-14260, but after investigating I haven't found anything there that broken this, so I think this is some timing/synchronization bug that became more likely after 14260. bq. I think it might be a dupe of CASSANDRA-13938, introduced by CASANDRA-12229 Good call, I did a quick search on google of " stream can only read forward" and found only CASSANDRA-8314 so I thought it was a new issue, next time I will use the JIRA search bar. :) I will close this as dupe of CASSANDRA-13938 for now. Feel free to reopen if this is not the case and to include the dtest on that Thanks for the quick feedback! > Streaming fails with AssertionError > ----------------------------------- > > Key: CASSANDRA-14394 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14394 > Project: Cassandra > Issue Type: Bug > Components: Streaming and Messaging > Reporter: Paulo Motta > Priority: Major > Fix For: 4.x > > > The bootstrap from the attached dtest fails with the following error on trunk: > {code:none} > ERROR [Stream-Deserializer-127.0.0.1:38369-af884494] 2018-04-17 12:36:53,420 > StreamingInboundHandler.java:210 - [Stream channel: af884494] stream > operation from 127.0.0.1:38369 failedjava.lang.AssertionError: stream can > only read forward. at > org.apache.cassandra.db.streaming.CompressedInputStream.position(CompressedInputStream.java:108) > at > org.apache.cassandra.db.streaming.CompressedCassandraStreamReader.read(CompressedCassandraStreamReader.java:93) > at > org.apache.cassandra.db.streaming.CassandraIncomingFile.read(CassandraIncomingFile.java:63) > at > org.apache.cassandra.streaming.messages.IncomingStreamMessage$1.deserialize(IncomingStreamMessage.java:49) > at > org.apache.cassandra.streaming.messages.IncomingStreamMessage$1.deserialize(IncomingStreamMessage.java:36) > at > org.apache.cassandra.streaming.messages.StreamMessage.deserialize(StreamMessage.java:55) > at > org.apache.cassandra.streaming.async.StreamingInboundHandler$StreamDeserializingTask.run(StreamingInboundHandler.java:177) > at java.lang.Thread.run(Thread.java:748) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org