Author: jbellis
Date: Wed Dec 9 16:42:07 2009
New Revision: 888870
URL: http://svn.apache.org/viewvc?rev=888870&view=rev
Log:
update comments
Modified:
incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageProxy.java
Modified:
incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageProxy.java
URL:
http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageProxy.java?rev=888870&r1=888869&r2=888870&view=diff
==============================================================================
---
incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageProxy.java
(original)
+++
incubator/cassandra/trunk/src/java/org/apache/cassandra/service/StorageProxy.java
Wed Dec 9 16:42:07 2009
@@ -286,7 +286,7 @@
}
/**
- * Read the data from one replica. If there is no reply, read the data
from another. In the event we get
+ * Read the data from one replica. When we get
* the data we perform consistency checks and figure out if any repairs
need to be done to the replicas.
* @param commands a set of commands to perform reads
* @return the row associated with command.key
@@ -484,10 +484,7 @@
}
/*
- * This function executes the read protocol locally and should be used only
if consistency is not a concern.
- * Read the data from the local disk and return if the row is NOT NULL. If
the data is NULL do the read from
- * one of the other replicas (in the same data center if possible) till we
get the data. In the event we get
- * the data we perform consistency checks and figure out if any repairs
need to be done to the replicas.
+ * This function executes the read protocol locally. Consistency checks
are performed in the background.
*/
private static List<Row> weakReadLocal(List<ReadCommand> commands)
{