[jira] [Updated] (CASSANDRA-13852) Race condition when closing stream sessions (4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Brown updated CASSANDRA-13852: Fix Version/s: 4.0 > Race condition when closing stream sessions (4.0) > - > > Key: CASSANDRA-13852 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13852 > Project: Cassandra > Issue Type: Bug >Reporter: Jason Brown >Assignee: Jason Brown > Fix For: 4.0 > > > bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race > condition that can occur when waiting for a streaming COMPLETE message and > the remote side has already closed the connection. We do not check to see if > we still have remaining bytes buffered for consumption in > {{RebufferringByteBufDataInputPlus}}, but always go ahead and throw an > {{EOFException}}. We should consume the bytes, then throw an {{EOFException}} > on subsequent calls. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-13852) Race condition when closing stream sessions (4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Brown updated CASSANDRA-13852: Resolution: Fixed Status: Resolved (was: Ready to Commit) committed as sha {{83822d12d87dcb3aaad2b1e670e57ebef4ab1c36}}. > Race condition when closing stream sessions (4.0) > - > > Key: CASSANDRA-13852 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13852 > Project: Cassandra > Issue Type: Bug >Reporter: Jason Brown >Assignee: Jason Brown > > bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race > condition that can occur when waiting for a streaming COMPLETE message and > the remote side has already closed the connection. We do not check to see if > we still have remaining bytes buffered for consumption in > {{RebufferringByteBufDataInputPlus}}, but always go ahead and throw an > {{EOFException}}. We should consume the bytes, then throw an {{EOFException}} > on subsequent calls. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-13852) Race condition when closing stream sessions (4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Blake Eggleston updated CASSANDRA-13852: Status: Ready to Commit (was: Patch Available) > Race condition when closing stream sessions (4.0) > - > > Key: CASSANDRA-13852 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13852 > Project: Cassandra > Issue Type: Bug >Reporter: Jason Brown >Assignee: Jason Brown > > bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race > condition that can occur when waiting for a streaming COMPLETE message and > the remote side has already closed the connection. We do not check to see if > we still have remaining bytes buffered for consumption in > {{RebufferringByteBufDataInputPlus}}, but always go ahead and throw an > {{EOFException}}. We should consume the bytes, then throw an {{EOFException}} > on subsequent calls. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-13852) Race condition when closing stream sessions (4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Brown updated CASSANDRA-13852: Status: Patch Available (was: Open) > Race condition when closing stream sessions (4.0) > - > > Key: CASSANDRA-13852 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13852 > Project: Cassandra > Issue Type: Bug >Reporter: Jason Brown >Assignee: Jason Brown > > bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race > condition that can occur when waiting for a streaming COMPLETE message and > the remote side has already closed the connection. We do not check to see if > we still have remaining bytes buffered for consumption in > {{RebufferringByteBufDataInputPlus}}, but always go ahead and throw an > {{EOFException}}. We should consume the bytes, then throw an {{EOFException}} > on subsequent calls. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-13852) Race condition when closing stream sessions (4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Brown updated CASSANDRA-13852: Summary: Race condition when closing stream sessions (4.0) (was: Race condition when closing stream sessions) > Race condition when closing stream sessions (4.0) > - > > Key: CASSANDRA-13852 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13852 > Project: Cassandra > Issue Type: Bug >Reporter: Jason Brown >Assignee: Jason Brown > > bootstrap_test:TestBootstrap.manual_bootstrap_test is hanging due to a race > condition that can occur when waiting for a streaming COMPLETE message and > the remote side has already closed the connection. We do not check to see if > we still have remaining bytes buffered for consumption in > {{RebufferringByteBufDataInputPlus}}, but always go ahead and throw an > {{EOFException}}. We should consume the bytes, then throw an {{EOFException}} > on subsequent calls. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org