Open GoogleCodeExporter opened 8 years ago
AFAIK this is not a bug - when redis is loading the data into memory, you
cannot query it. the "serve stale data" refers to the process where the slave
starts the SYNC with the master, and receives the data, up until it has to
actually load it into memory.
the SYNC process can be seen as having 4 stages:
1. slave tries to connect and sends a SYNC
2. master acknowledges and dumps its current data to be sent.
3. the data is sent over the wire to the slave.
4. when it finishes getting the data, the slave loads the data into its own
memory.
"serve stale data" saves you from blocking on stages 1-3. but currently there
is no way around rejecting queries when at stage 4.
Original comment by dvir...@gmail.com
on 21 May 2011 at 9:15
s there any wa to change that behavior? I am using redis in a realtimr system
which can probably tolerate very short delays but really cant handle "sorry try
again later".
Has this behavios changed since the 2.0 series? My company didnt experience
this behavior before. we are currently looking to upgrade but this issue is
preventing us.
Original comment by elreydet...@gmail.com
on 21 May 2011 at 6:30
Original issue reported on code.google.com by
hlieberm...@chitika.com
on 20 May 2011 at 2:50Attachments: