[Date Prev][Date Next]
Re: (ITS#6152) proxycache enhancements
Am Donnerstag 28 Mai 2009 18:29:55 schrieb email@example.com:
> Full_Name: Howard Chu
> Version: 2.4.16
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (126.96.36.199)
> Submitted by: hyc
> Some ideas that came out of discussions at the Ubuntu Developer Summit this
> It would be nice for pcache to detect when connectivity to the remote
> server has been lost. In that case, cache expiration should be stopped, and
> the cache contents should remain intact until connectivity is restored.
Yes that sound reasonable. It's probably also worth to think about a mechanism
to explicitly set pcache to "offline" mode. That way on a client machine a
hook could be provided for e.g. NetworkManager to bring pcache to offline mode
immediately when the network goes offline.
That mechanism could either be offered through back-config (back-monitor as
for readonly?) and/or through the nssov Socket as that would most probably be
the main user of this disconnected pcache mode.
> Also, when connectivity is restored, pcache should explicitly refresh all
> the entries it currently holds, rather than allowing them to be immediately