diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-04-15 14:13:20 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-04-15 14:13:20 -0400 |
commit | de811eef9b9e96ac927bb54e0f30d0780e1b5d95 (patch) | |
tree | 7af87f0267bd068d81125e78f626dd4e57eec8c5 /src | |
parent | 362d7c8acf648b1b02165d52c8cc1a2ef82fe074 (diff) | |
download | mongo-de811eef9b9e96ac927bb54e0f30d0780e1b5d95.tar.gz |
WT-2223: Add stress testing for in-memory
Change WT_CACHE_FULL to not set a transaction error, allowing
transactions to continue, rather than forcing a rollback.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/api.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/api.h b/src/include/api.h index c6a5af40698..05949976fac 100644 --- a/src/include/api.h +++ b/src/include/api.h @@ -35,8 +35,9 @@ (s)->name = __oldname; \ if (F_ISSET(&(s)->txn, WT_TXN_RUNNING) && \ (ret) != 0 && \ - (ret) != WT_NOTFOUND && \ - (ret) != WT_DUPLICATE_KEY) \ + (ret) != WT_CACHE_FULL && \ + (ret) != WT_DUPLICATE_KEY && \ + (ret) != WT_NOTFOUND) \ F_SET(&(s)->txn, WT_TXN_ERROR); \ } \ } while (0) |