Re: i have a question about "commitlog_sync"

2011-10-09 Thread Jonathan Ellis
The difference is that the Batch executor guarantees that sync will be called before a task is marked done. 2011/10/8 hicks : > hi,all: >   i have a question about the option "commitlog_sync" in cassandra.yaml > file.when its value is set to "batch",the ICommitLogExecutorService instance > of Comm

i have a question about "commitlog_sync"

2011-10-08 Thread hicks
hi,all: i have a question about the option "commitlog_sync" in cassandra.yaml file.when its value is set to "batch",the ICommitLogExecutorService instance of CommitLog will be BatchCommitLogExecutorService in which there is a method named processWithSyncBatch.and in this method,there is a code