Good point. I guess the only safe thing to do is to flush all servers when reconnecting to one of them. I'll try to make another pass if I have time.
About using this from django: how do you feel about allowing options to be set in the server string? Something like
memcache.Client(['127.0.0.1:11211?flush_on_reconnect=1'])
I'll also need to check that django passes the whole string through.
Good point. I guess the only safe thing to do is to flush all servers when reconnecting to one of them. I'll try to make another pass if I have time.
About using this from django: how do you feel about allowing options to be set in the server string? Something like
memcache. Client( ['127.0. 0.1:11211? flush_on_ reconnect= 1'])
I'll also need to check that django passes the whole string through.