summaryrefslogtreecommitdiff
path: root/src/include/connection.h
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2015-08-27 17:31:42 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2015-08-27 17:31:42 +1000
commitcf53696eeaef346a730e71a46990086f49447041 (patch)
tree0c1bd32bea613028aa777e9acea83aaeb90f2448 /src/include/connection.h
parent8f42f02d3c4ba54aa7d3b36f475ca4e752902150 (diff)
parent69732eebe142bdf9d2bf9afa575eb79607e0de0f (diff)
downloadmongo-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.h4
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 */