Joshua McKenzie created CASSANDRA-12019:
-------------------------------------------

             Summary: Platform independent implementation of 
DirectorySizeCalculator
                 Key: CASSANDRA-12019
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12019
             Project: Cassandra
          Issue Type: Sub-task
            Reporter: Joshua McKenzie
            Assignee: Joshua McKenzie
            Priority: Minor


On linux, simplify to 
{{Arrays.stream(path.listFiles()).mapToLong(File::length).sum();}}

It's simpler and performs better, however is much slower on Windows.

See discussion on CASSANDRA-8844.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to