cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1573) StreamOut fails to start an empty stream
Date Mon, 04 Oct 2010 20:58:38 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1573:
--------------------------------------

    Attachment: 1573-v2.txt

There is no reason to go through the target node, which is what session.begin will do, when
there is nothing to transfer to it.  Attached is an alternate patch that simply skips to session.close
when there is nothing to do.

> StreamOut fails to start an empty stream
> ----------------------------------------
>
>                 Key: CASSANDRA-1573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 2
>            Reporter: Nick Bailey
>            Assignee: Jonathan Ellis
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: 0001-Remove-empty-list-check-from-StreamOut.patch
>
>
> StreamOut only starts a stream if there are actually files to transfer. This means callbacks
will never get called for streams that don't actually have anything to transfer.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message