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


##########
src/java/org/apache/cassandra/db/streaming/CassandraEntireSSTableStreamReader.java:
##########
@@ -159,9 +160,13 @@ public SSTableMultiWriter read(DataInputPlus in) throws 
IOException
 
     private File getDataDir(ColumnFamilyStore cfs, long totalSize) throws 
IOException
     {
+        boolean isTracked = cfs.metadata().replicationType().isTracked();
+
         Directories.DataDirectory localDir = 
cfs.getDirectories().getWriteableLocation(totalSize);
         if (localDir == null)
-            throw new IOException(format("Insufficient disk space to store 
%s", prettyPrintMemory(totalSize)));
+            throw new IOException(String.format("Insufficient disk space to 
store %s", FBUtilities.prettyPrintMemory(totalSize)));

Review Comment:
   I guess I'd leave the static import way in place for now. Otherwise, we're 
just doing it two different ways in this class.



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