cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Tata (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-182) CommitLog.add doesn't really force to disk
Date Wed, 22 Jul 2009 06:02:14 GMT


Sandeep Tata commented on CASSANDRA-182:

I did figure how to avoid using force(true) to flush the metadata in addition to the data
(2 disk forces instead of one). If you preallocate the pages for the log file, you need to
force(true) only when you have to grab more pages for the log. This would of course require
some extra work in the logger code so the end of the log can be tracked without depending
on file size/end of file.

> CommitLog.add doesn't really force to disk
> ------------------------------------------
>                 Key: CASSANDRA-182
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.3
>            Reporter: Sandeep Tata
>            Assignee: Jonathan Ellis
>             Fix For: 0.4
>         Attachments: CASSANDRA-182.patch
> CommitLog.add does't really force writes to disk. This could result in acked writes being

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message