diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-01 20:27:46 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-08-01 20:27:46 +1000 |
commit | 0fe07119eb0df6b916dde47cb093587da659f342 (patch) | |
tree | 119818430bf1ae8122986d7e09455079e0652f68 /src/include/connection.h | |
parent | e9bba7b3fc4cf5376cc6f84006fc612701c00352 (diff) | |
download | mongo-0fe07119eb0df6b916dde47cb093587da659f342.tar.gz |
Move session creation out of worker threads: the session open can race with connection close.
Diffstat (limited to 'src/include/connection.h')
-rw-r--r-- | src/include/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/connection.h b/src/include/connection.h index 18a825111c8..c22a55b6b7a 100644 --- a/src/include/connection.h +++ b/src/include/connection.h @@ -199,7 +199,7 @@ struct __wt_connection_impl { uint32_t async_size; /* Async op array size */ uint32_t async_workers; /* Number of async workers */ - WT_SESSION_IMPL *evict_session; /* Eviction server session */ + WT_SESSION_IMPL *evict_session; /* Eviction server sessions */ pthread_t evict_tid; /* Eviction server thread ID */ int evict_tid_set; /* Eviction server thread ID set */ |