On Fri, May 11, 2012 at 10:50 PM, Jay A. Kreibich wrote:
Wouldn't the master, upon reading the keys for replication, also
delete them?
Master -> Slave SYNC is performed via RDBs.
RDBs are generated by child process that should touch as little pages
as possible, and can't change parent's memory anyway, so there is no
expiration process: simply keys that are found already expired are not
persisted at all, of course.
So a Master can have N keys in memory that are already expired but are
still to be "collected", but the slave wil not have these keys as the
RDB was purged.
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.orgBeauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/redis-db?hl=en.