diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-08-27 17:31:42 +1000 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-08-27 17:31:42 +1000 |
commit | cf53696eeaef346a730e71a46990086f49447041 (patch) | |
tree | 0c1bd32bea613028aa777e9acea83aaeb90f2448 /src/include/connection.h | |
parent | 8f42f02d3c4ba54aa7d3b36f475ca4e752902150 (diff) | |
parent | 69732eebe142bdf9d2bf9afa575eb79607e0de0f (diff) | |
download | mongo-cf53696eeaef346a730e71a46990086f49447041.tar.gz |
Merge pull request #2110 from wiredtiger/shared-cache-gradual
WT-2034 Make shared cache adjustments gradually
Diffstat (limited to 'src/include/connection.h')
-rw-r--r-- | src/include/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/connection.h b/src/include/connection.h index 64043035e76..0f4419308cb 100644 --- a/src/include/connection.h +++ b/src/include/connection.h @@ -270,7 +270,9 @@ struct __wt_connection_impl { uint32_t hazard_max; /* Hazard array size */ WT_CACHE *cache; /* Page cache */ - uint64_t cache_size; /* Configured cache size */ + volatile uint64_t cache_size; /* Cache size (either statically + configured or the current size + within a cache pool). */ WT_TXN_GLOBAL txn_global; /* Global transaction state */ |