Skip to content

Commit

Permalink
MB-5010 Reset the thread local data whenever leaving a bucket.
Browse files Browse the repository at this point in the history
A thread local data is set to a bucket pointer when a given
thread enters into that bucket for supporting the memory
accounting per bucket. This means that the thread local data
should be reset when the thread leaves from its bucket.

Conflicts:

        ep_engine.cc

Change-Id: I02124045c4503bf5d860e1063ab4d0aa11fd43b1
Reviewed-on: http://review.couchbase.org/14773
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-on: http://review.couchbase.org/14919
  • Loading branch information
chiyoung committed Apr 17, 2012
1 parent 8c7a79a commit 5ff0677
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 158 deletions.
Loading

0 comments on commit 5ff0677

Please sign in to comment.