~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

(robertc) Fix threaded access to chk_map functions corrupting a
        module level cache. (Robert Collins, John Arbash Meinel, bug 514090)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
 
8
bzr 2.1.0 (not released yet)
 
9
############################
 
10
 
 
11
:Codename: 
 
12
:2.1.0: 
 
13
 
 
14
Bug Fixes
 
15
*********
 
16
 
 
17
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
18
  same time was broken due to race conditions with a module level page
 
19
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
20
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
21
  the same high level objects such as ``bzrlib.repository.Repository``
 
22
  from different threads. chk_map now uses a thread local cache which may
 
23
  increase memory pressure on processes using threads.
 
24
  (Robert Collins, John Arbash Meinel, #514090)
 
25
 
8
26
bzr 2.1.0rc2
9
27
############
10
28