apache/cassandra — pull request #48 by minimarcel (2014-10-04 16:00:30+00:00)
Title: during boostrap, block only for local pending endpoints

Hi,

During bootstrap, for `LOCAL_QUORUM` and `LOCAL_ONE` consistencies, the `DatacenterWriteResponseHandler` were waiting for pending remote endpoints.

I think that's a regression, because it seems that it has been correctly implemented in `CASSANDRA-833`, but removed later.

It was specifically annoying in the case of `RF=2` and `cl=LOCAL_QUORUM`, because during a bootstrap of a remote node, all requests ended in `WriteTimeout`, because they were waiting for a response that would never happen.

`CASSANDRA-8058`
(https://issues.apache.org/jira/browse/CASSANDRA-8058)

Thanks!