Hang at commit time when using sftp or bzr+ssh

Aaron Bentley aaron at aaronbentley.com
Fri Dec 9 15:27:37 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-12-08 07:23 PM, Stephen Auyeung wrote:
> Another possibility is caching at the higher level. For example,
> caching the master_branch at Branch. I see the code there, but the
> cache is being cleared when unlock is called and that makes the
> cache not very useful. Could it be that only some of the cache need
> to be clear but not all?

Generally the solution is to hold the lock for longer.  Is there a
reason that wouldn't work here?

I think we want to avoid the possibility of inconsistency clearing
only part of the cache would introduce.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7iKOkACgkQ0F+nu1YWqI14JACeIAAlH8GwPyNgwKBLnOoeMopD
QwsAn1n2dGabEEXeM2CyyYRFsHqdNP9z
=yRsf
-----END PGP SIGNATURE-----



More information about the bazaar mailing list