diff options
author | Susan LoVerso <sue@wiredtiger.com> | 2014-08-05 12:45:07 -0400 |
---|---|---|
committer | Susan LoVerso <sue@wiredtiger.com> | 2014-08-05 12:45:07 -0400 |
commit | f2a469478ab5909919259331a2430dc71092e5d7 (patch) | |
tree | 1b986c84306422563b71f6fa87971e8f3e94d804 /src/async | |
parent | d2cd00f988a194d2cddc7e9b6a4561f2e2a60000 (diff) | |
download | mongo-f2a469478ab5909919259331a2430dc71092e5d7.tar.gz |
Return EBUSY if no async handles available and fix ex_async to look for it. #1153.
Diffstat (limited to 'src/async')
-rw-r--r-- | src/async/async_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async/async_api.c b/src/async/async_api.c index 6e425515bf2..4f4958baf2a 100644 --- a/src/async/async_api.c +++ b/src/async/async_api.c @@ -143,7 +143,7 @@ retry: */ if (op == NULL || op->state != WT_ASYNCOP_FREE) { WT_STAT_FAST_CONN_INCR(session, async_full); - WT_RET(ENOMEM); + WT_RET(EBUSY); } /* * Set the state of this op handle as READY for the user to use. |