mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.0' into cassandra-2.1
This commit is contained in:
commit
311c276426
|
|
@ -47,15 +47,6 @@ public class StreamingRepairTask implements Runnable, StreamEventHandler
|
|||
this.request = request;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the task if the task can be executed locally, false if
|
||||
* it has to be forwarded.
|
||||
*/
|
||||
public boolean isLocalTask()
|
||||
{
|
||||
return request.initiator.equals(request.src);
|
||||
}
|
||||
|
||||
public void run()
|
||||
{
|
||||
if (request.src.equals(FBUtilities.getBroadcastAddress()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue