diff options
author | Luke Chen <luke.chen@mongodb.com> | 2019-10-03 05:44:38 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-03 05:44:38 +0000 |
commit | 0d0748ae6896c7ab235dffb2a0c8a49e16fad7f8 (patch) | |
tree | 9fcbf110eaa9ef3148ac8e64f72a38aafdf878c8 /src/third_party/wiredtiger/examples | |
parent | 2961e15b5fd4534b324d78557afcf795aba056b6 (diff) | |
download | mongo-0d0748ae6896c7ab235dffb2a0c8a49e16fad7f8.tar.gz |
Import wiredtiger: e0041ca53c1c1a4a23cc7aaa7ef8137dc1c61117 from branch mongodb-4.4
ref: 0cd668bf3a..e0041ca53c
for: 4.3.1
WT-4702 Switch to ubuntu1804-test Evergreen distro
WT-4715 Workloads will stall if old transaction or timestamp pinned by thread co-opted for eviction
WT-4961 Checkpoints with cache overflow must keep history for reads
WT-5093 Enable million-collection-test working with Evergreen distro rhel80-build
WT-5094 Enable Windows compile task working with Evergreen distro windows-64-vs2017-test
WT-5122 Shut down the sweep server before doing the final checkpoint
WT-5128 Add script to run wtperf with XRay profiling
WT-5130 Enable Big-endian (s390x/zSeries) working with Evergreen distro ubuntu1804-zseries-build
WT-5135 Change lookaside file inserts to use cursor.insert
WT-5140 Fix where a cursor returning random items can use an uninitialized buffer
WT-5143 Fix typo in error message
Diffstat (limited to 'src/third_party/wiredtiger/examples')
-rw-r--r-- | src/third_party/wiredtiger/examples/c/ex_all.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_all.c b/src/third_party/wiredtiger/examples/c/ex_all.c index b9792fbc82b..ffc3c469881 100644 --- a/src/third_party/wiredtiger/examples/c/ex_all.c +++ b/src/third_party/wiredtiger/examples/c/ex_all.c @@ -928,6 +928,8 @@ transaction_ops(WT_SESSION *session_arg) error_check(conn->set_timestamp(conn, "stable_timestamp=2a")); /*! [set stable timestamp] */ + /* WT_CONNECTION.rollback_to_stable requires a timestamped checkpoint. */ + error_check(session->checkpoint(session, NULL)); /*! [rollback to stable] */ error_check(conn->rollback_to_stable(conn, NULL)); /*! [rollback to stable] */ |