maedhroz commented on code in PR #1796:
URL: https://github.com/apache/cassandra/pull/1796#discussion_r950410181


##########
src/java/org/apache/cassandra/service/reads/ReadCallback.java:
##########
@@ -120,6 +120,17 @@ public void awaitResults() throws ReadFailureException, 
ReadTimeoutException
          */
         int received = resolver.responses.size();
         boolean failed = failures > 0 && (blockFor > received || 
!resolver.isDataPresent());
+        // If all messages came back as a TIMEOUT then signaled=true and 
failed=true.
+        // Need to distigues between a timeout and a failure (network, bad 
data, etc.), so store an extra field.

Review Comment:
   ```suggestion
           // Need to distinguish between a timeout and a failure (network, bad 
data, etc.), so store an extra field.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to