diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-04-27 07:41:36 +0000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-04-27 07:41:36 +0000 |
commit | 5991f88fefb1a5989f9b3633b7cd5c0dc1d57854 (patch) | |
tree | b666100e56d4d03b118c4606c8ef7de529454b05 /src | |
parent | 11694203c28646a5ba54c241e65ff5adf9442687 (diff) | |
download | mongo-5991f88fefb1a5989f9b3633b7cd5c0dc1d57854.tar.gz |
If getting a handle lock only - don't propogate WT_NOTFOUND.
It's expected after the background drop changes.
Refs SERVER-18014
Diffstat (limited to 'src')
-rw-r--r-- | src/session/session_dhandle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session/session_dhandle.c b/src/session/session_dhandle.c index a9baaf1f40d..ce5f95a40d0 100644 --- a/src/session/session_dhandle.c +++ b/src/session/session_dhandle.c @@ -380,7 +380,7 @@ __wt_session_get_btree(WT_SESSION_IMPL *session, * for locks or our caller hasn't allowed us to take the schema * lock - they do so on purpose and will handle error returns. */ - if (LF_ISSET(WT_DHANDLE_LOCK_ONLY) || + if ((LF_ISSET(WT_DHANDLE_LOCK_ONLY) && ret == EBUSY) || (!F_ISSET(session, WT_SESSION_SCHEMA_LOCKED) && F_ISSET(session, WT_SESSION_HANDLE_LIST_LOCKED | WT_SESSION_TABLE_LOCKED))) |