incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <>
Subject Re: sync commitlog in batch mode lose data
Date Tue, 31 May 2011 20:59:22 GMT
> 1). set commitlog sync in batch mode and the sync batch window in 0 ms
> 2). one client wrote random keys in infinite loop with consistency level
> QUORUM and record the keys in file after the insert() method return normally
> 3). unplug one server (node A) power cord
> 4). restart the server and cassandra service
> 5). read the key list generated in step 2) with consistency level ONE

How sure are you that the system is honoring fsync() properly,
including flushing any caches on underlying drives? Or is this with
battery backed caching RAID controllers?

/ Peter Schuller

View raw message