blambov commented on code in PR #4417:
URL: https://github.com/apache/cassandra/pull/4417#discussion_r2420482853


##########
src/java/org/apache/cassandra/db/rows/LazilyInitializedUnfilteredRowIterator.java:
##########
@@ -97,15 +97,16 @@ protected Unfiltered computeNext()
 
     public void close()
     {
+        // don't use iterator == null as indicator if this is closed since we 
might re-initialize after closing it in that case.

Review Comment:
   Nit: Say in the comment that even though the iterator is closed it still can 
and needs to respond to some method calls.



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