cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgbhagat <...@git.apache.org>
Subject [GitHub] cassandra pull request #196: Fixes
Date Mon, 19 Feb 2018 10:13:01 GMT
Github user pgbhagat commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/196#discussion_r169031629
  
    --- Diff: src/java/org/apache/cassandra/utils/CoalescingStrategies.java ---
    @@ -146,7 +146,7 @@ protected AbstractCoalescingStrategy(Logger logger, String displayName)
                     {
                         File outFile = File.createTempFile("coalescing_" + this.displayName
+ "_", ".log", new File(DEBUG_COALESCING_PATH));
                         rasTemp = new RandomAccessFile(outFile, "rw");
    -                    logBufferTemp = ras.getChannel().map(MapMode.READ_WRITE, 0, Integer.MAX_VALUE);
    --- End diff --
    
    At this line, ras is null, replacing it with rasTemp.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message