Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-04 Thread liangfeng
Jonathan Ellis gmail.com> writes: > You should look at the org.apache.cassandra.db.compaction package and > read the original leveldb implementation notes at > http://leveldb.googlecode.com/svn/trunk/doc/impl.html for more > details. > There is an important rule in http://leveldb.googlecode.co

Re: Leveled Compaction in cassandra1.0 may not be perfect

2011-12-02 Thread liangfeng
Jonathan Ellis gmail.com> writes: > > I think you're confusing "temporary space used during a compaction > operation" with "total i/o done by compaction." > > Leveled compaction *will* do more i/o than size-tiered, because it's > enforcing tighter guarantees on how compacted the data is. >

Leveled Compaction in cassandra1.0 may not be perfect

2011-12-01 Thread liangfeng
Hello,everyone! In this doc(http://www.datastax.com/dev/blog/leveled-compaction-in-apache-cassandra),I found a conclusion "Only enough space for 10x the sstable size needs to be reserved for temporary use by compaction".I don't know how can we got this conclusion,but I guess the author of this d

Re: OutboundTcpConnection in 1.0.0 may stop working

2011-09-21 Thread liangfeng
> Do you mind opening a ticket on JIRA for this ? Yes,if it is a mistake. Thanks!

OutboundTcpConnection in 1.0.0 may stop working

2011-09-21 Thread liangfeng
In cassandra1.0.0, I found that OutboundTcpConnection will throw RuntimeException when it encounters an IOException(in write()) .In this case, OutboundTcpConnection as a thread will stop working--do not send any message to other nodes. This is not reasonable,isn't it?