bereng commented on code in PR #2880:
URL: https://github.com/apache/cassandra/pull/2880#discussion_r1386252646


##########
src/java/org/apache/cassandra/io/sstable/format/SSTableReader.java:
##########
@@ -458,7 +458,7 @@ protected SSTableReader(Builder<?, ?> builder, Owner owner)
         this.openReason = builder.getOpenReason();
         this.first = builder.getFirst();
         this.last = builder.getLast();
-        this.bounds = AbstractBounds.strictlyWrapsAround(first.getToken(), 
last.getToken())
+        this.bounds = first == null || last == null || 
AbstractBounds.strictlyWrapsAround(first.getToken(), last.getToken())

Review Comment:
   @jacek-lewandowski does this make sense to you? Ping me if you need more 
context



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