Commit Graph

619 Commits

Author SHA1 Message Date
Don Anderson
ee33b0875a Merge branch 'develop' into wt-1315-join-cursor 2015-11-17 10:35:01 -05:00
Keith Bostic
389d3bca4c WT-2217: change WT_CURSOR.insert to clear "set" key/value on succesful
return.
2015-11-15 12:28:54 -05:00
Don Anderson
d46c3bf7b1 WT-1315. Added C and java examples for join cursors. 2015-11-03 13:36:26 -05:00
Susan LoVerso
7dbe9256f6 WT-2134 Force out pending log slot buffer to advance log->alloc_lsn for
log_flush.  Fix example to use the correct config signature.
2015-09-24 15:20:48 -04:00
Michael Cahill
959376c602 Merge pull request #2189 from wiredtiger/index-create-lsm3
WT-147: Dynamic Index creation.  Use bulk=unordered
2015-09-22 15:59:09 +10:00
Alex Gorrod
402d127174 Lint in example code. 2015-09-22 09:47:11 +10:00
Keith Bostic
e005640b92 WT_SESSION.log_flush returns a value. 2015-09-17 09:50:48 -04:00
Susan LoVerso
366fc17e0b WT-2104 New log_flush API to control the flushing or syncing of the log. 2015-09-15 13:35:11 -04:00
Don Anderson
0225351bb6 Merge branch 'develop' into index-create-lsm3 2015-09-13 21:57:42 -04:00
Keith Bostic
876159d97d Merge branch 'develop' into wt-1967-evict-any 2015-08-27 07:32:47 -04:00
Keith Bostic
be33c5ad26 Try and generalize the test a little so we don't have to mention the
lookaside file (the lookaside file consumes a file ID, but doesn't
output log records, so we only have to skip file ID 0, the metadata
file).
2015-08-26 12:24:23 -04:00
Susan LoVerso
dd9f40ddc1 Merge branch 'develop' into log-slot-revamp
Conflicts:
	dist/s_define.list
	src/include/log.h
	src/include/stat.h
	src/include/wiredtiger.in
	src/log/log_slot.c
	src/support/stat.c
2015-08-24 16:25:09 -04:00
Keith Bostic
0900894094 Merge branch 'develop' into wt-1967-evict-any 2015-08-20 10:19:13 -04:00
Michael Cahill
7f70a59df5 Merge branch 'master' into develop 2015-08-20 11:10:24 +10:00
Julien Balestra
d832c812c4 Update ex_access.py 2015-08-19 21:25:09 +02:00
Julien Balestra
b4f44b1425 Remove useless space 2015-08-19 21:07:37 +02:00
Julien Balestra
c6f7e7808c String format is better than strcat 2015-08-19 21:07:24 +02:00
Julien Balestra
8abecd0978 Remove redundant parenthesis 2015-08-19 20:59:52 +02:00
Julien Balestra
255abcf9e6 Whitespace before : (PEP8) 2015-08-19 20:58:24 +02:00
Julien Balestra
807637e6e1 Extra blank lines may be used to separate groups of related functions (PEP8) 2015-08-19 20:57:45 +02:00
Julien Balestra
60e860b30c String format is better than strcat 2015-08-19 20:49:49 +02:00
Susan LoVerso
8c58af77b4 Merge branch 'develop' into log-slot-revamp
Conflicts:
	src/conn/conn_log.c
2015-08-10 16:23:40 -04:00
Keith Bostic
cff32e6f32 Now we're creating a lookaside file early on in wiredtiger_open, file
IDs 0 and 1 are taken.
2015-08-10 16:18:22 -04:00
Keith Bostic
a26f54e899 Some of the session ops require logging (for example, transaction_sync),
turn on logging in the database.
2015-08-10 14:56:45 -04:00
Susan LoVerso
e81aa9dfec WT-2031 ex_log debugging 2015-08-05 12:50:47 -04:00
Susan LoVerso
0f64ae7471 WT-2031 Add force_write wrapper. Force write when opening a log cursor. 2015-08-05 11:48:46 -04:00
Susan LoVerso
7da8088c53 WT-2031 Typos. 2015-08-04 10:42:44 -04:00
Susan LoVerso
b7f75bdb38 Merge branch 'develop' into log-slot-revamp 2015-08-03 20:58:34 -04:00
Don Anderson
709cbf8f25 Merge branch 'develop' into index-create 2015-07-31 11:00:09 -04:00
Susan LoVerso
e393dc39b6 WT-1989 Fix close path of wrlsn worker thread to write final records.
Simplify spin lock usage.
2015-07-30 13:38:45 -04:00
Susan LoVerso
c48a5ff6a5 Remove debugging from ex_log. Add sleep to allow log records to be
written.
2015-07-29 16:37:15 -04:00
Susan LoVerso
0a64b95ad6 Typo in cursor->search example code. 2015-07-29 15:02:25 -04:00
Susan LoVerso
24f2d76473 Ex_log debugging 2015-07-29 14:53:52 -04:00
Susan LoVerso
06df83ccbd ex_log debugging. 2015-07-29 14:07:34 -04:00
Susan LoVerso
d73f698cee Add more Jenkins ex_log debugging. 2015-07-29 14:01:48 -04:00
Susan LoVerso
13cbfb839b Add debugging for Jenkins failure. 2015-07-29 12:32:42 -04:00
Susan LoVerso
322063635a WT-1989 Add code to force close a slot, fix file switch bugs. 2015-07-29 09:41:26 -04:00
Michael Cahill
e6688915e8 WT-1987 Add a TEST_WRAPPER variable for running all tests with valgrind or similar. 2015-07-01 16:03:41 +10:00
David Hows
9b60ee8332 Add reset to wiredtiger.in and ex_all 2015-06-22 11:20:37 +10:00
Don Anderson
9d95941803 Modified extractor example to show all presidents corresponding to
a given year, not just the first one found.
2015-05-29 09:08:25 -04:00
Susan LoVerso
474ff612e8 Merge branch 'develop' into transaction-background
Conflicts:
	src/config/config_def.c
	src/include/config.h
	src/include/txn.h
	src/log/log.c
	src/session/session_api.c
2015-05-27 12:15:11 -04:00
Susan LoVerso
d3b914224f Make default transaction_sync timeout to be forever. WT-1908 2015-05-27 11:13:02 -04:00
Susan LoVerso
78a2e9c80a Refactor setting background sync LSN to its own functions. WT-1908 2015-05-27 10:53:15 -04:00
Susan LoVerso
b9bbfe6dea Reject commit_transaction config if sync was set on begin_transaction. 2015-05-26 13:24:02 -04:00
Alex Gorrod
9796ba4979 Update named snapshot API.
Move semantic from drop=(to=all) to drop=(all=true)
2015-05-22 02:22:31 +00:00
Alex Gorrod
5160ee4227 Add named snapshot documentation example code. 2015-05-21 04:18:00 +00:00
Susan LoVerso
efd072409c Fix warning. 2015-05-20 14:29:07 -04:00
Susan LoVerso
b73ef68089 Add example code for background sync. WT-1908 2015-05-20 14:21:15 -04:00
Keith Bostic
5022f37666 Use srand/rand instead of srandom/random, it's more portable and
this is just example code.
2015-05-14 13:30:37 -04:00
Susan LoVerso
656c2ce0ad Merge branch 'develop' into transaction-background 2015-05-14 13:11:44 -04:00