dcapwell commented on a change in pull request #1180:
URL: https://github.com/apache/cassandra/pull/1180#discussion_r705618877



##########
File path: src/java/org/apache/cassandra/db/ReadCommand.java
##########
@@ -388,66 +399,75 @@ public UnfilteredPartitionIterator 
executeLocally(ReadExecutionController execut
     {
         long startTimeNanos = System.nanoTime();
 
-        ColumnFamilyStore cfs = Keyspace.openAndGetStore(metadata());
-        Index index = getIndex(cfs);
-
-        Index.Searcher searcher = null;
-        if (index != null)
+        COMMAND.set(this);

Review comment:
       the diff is large but it is just moving all the logic into the try 
block; no code change was done.




-- 
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