cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Dawrani <roshandawr...@gmail.com>
Subject Re: Basic question on a write operation immediately followed by a read
Date Tue, 25 Jan 2011 06:04:36 GMT
2011/1/25 Patricio Echag├╝e <patricioe@gmail.com>

> Roshan, when a client invoke a write, the write goes first to commit log
> and later to memtable. After that it returns to the client.
>
> After it reaches the memtable, that data is ready to be read.
>
> The reads consolidates de data from the memtables and sstables unless there
> is a hit in the row cache.
>
> does it help?
>

Yes, it helps very much. Because I was unsure when a client call returned.
If it returns after data is pushed to memtable, then it all seems safe at
that front.

Thanks a lot.

Mime
View raw message