If you look in that code, the bounds are checked on each write and reBuffer is called from there instead of from seek
On Mon, Feb 21, 2011 at 2:21 PM, Ivan Georgiev <yngw...@bk.ru> wrote: > I meant what was tagged as 0.7.0, at least that is what i used in my 0.7.0 > tests: > > http://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.7.0/ > > Ivan > > On 21.2.2011 г. 22:12 ч., ruslan usifov wrote: > > 2011/2/21 Ivan Georgiev <yngw...@bk.ru> >> >> That is strange. In 0.7.0 i see this for seek: >> >> public void seek(long pos) throws IOException >> { >> this.curr_ = pos; >> } > > You doesn't see 0.7.0 version, you see version before > cassandra/branches/cassandra-0.7@1052531 (2010-12-24 16:57:07 +0000 (8 weeks > ago)) > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com