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


##########
src/java/org/apache/cassandra/db/streaming/CassandraStreamReceiver.java:
##########
@@ -242,6 +246,19 @@ public void finished()
             }
             else
             {
+                if (receivedEntireSSTable)
+                {
+                    try
+                    {
+                        // SSTable-attached indexes may have been streamed 
completely, and they must be validated:
+                        
cfs.indexManager.validateStorageAttachedIndexes(readers);
+                    }
+                    catch (IOException e)
+                    {
+                        throw new RuntimeException(e);

Review Comment:
   At this point, I'm sure sure if there's a better alternative than 
`RuntimeException`...



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