Commit graph

297 commits

Author SHA1 Message Date
Zardosht Kasheff
357b4981c2 [t:4768], [t:4829], [t:4834], [t:4511], [t:4513], merge fixes to main
git-svn-id: file:///svn/toku/tokudb@43396 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:27 -04:00
Leif Walsh
63b1969fbb [t:4814] merging cmake work to mainline
git-svn-id: file:///svn/toku/tokudb@43179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:25 -04:00
Zardosht Kasheff
1e96a05413 [t:4512], remove brt_header->checkpoint_before_commit_link and txn->checkpoint_before_commit, and replace it with a BOOL that states if a checkpoint is needed or not
git-svn-id: file:///svn/toku/tokudb@42758 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Zardosht Kasheff
a95207a7cd [t:4775], remove NONLEAF_CHILDINFO->n_bytes_in_buffer
git-svn-id: file:///svn/toku/tokudb@42751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:24 -04:00
Christian Rober
fc4ab2c4c2 [t:4759] Checking in MSN fix found due to recent test changes.
git-svn-id: file:///svn/toku/tokudb@42485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
1cd679d790 [t:4773], [t:4774], make blind fix on main
git-svn-id: file:///svn/toku/tokudb@42406 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Bradley C. Kuszmaul
3e3a5f70cd close[t:4756] Remove the pwrite_lock_init and destroy functions. Closes #4756.
git-svn-id: file:///svn/toku/tokudb@42143 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:23 -04:00
Zardosht Kasheff
40ef154d3b [t:4745], only call toku_update_descriptor in deserialize_brtheader_versioned if we are upgrading header
git-svn-id: file:///svn/toku/tokudb@42069 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:22 -04:00
Christian Rober
e595c8d921 [t:4567] Merging fixes to recent error reporting changes.
git-svn-id: file:///svn/toku/tokudb@41843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Christian Rober
c19ff63d1d [t:4567] Merging new node error reporting to main.
git-svn-id: file:///svn/toku/tokudb@41836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:18 -04:00
Zardosht Kasheff
e4a3393e6e [t:4693], write brtnodes out in parallel for loader, serially for other cases
git-svn-id: file:///svn/toku/tokudb@41699 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
Leif Walsh
8d0368fd2f [t:3983] merging auto-upgrade to mainline
git-svn-id: file:///svn/toku/tokudb@41591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:17 -04:00
John Esmet
0d32c57b9f close[t:4574] merging 4574 to main. fixes the hcad deadlock found by Tim's stress test, which adds and drops indexes concurrent with queries and insertions. transactions no longer keep trollback nodes pinned after an operation, but instead always unpin them.
this merge also introduces a lot of improvements to our rollback code, in terms of clarity and consistency. to that end, variable names and function names were improved, as well as more documentation of the rollback logic in rollback.h and log-internal.h

roll.h is removed because it is a dead file.


git-svn-id: file:///svn/toku/tokudb@41576 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Zardosht Kasheff
07d38f9161 [t:4541], merge to main
git-svn-id: file:///svn/toku/tokudb@41538 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:15 -04:00
Leif Walsh
43e5551390 [t:4635] merging fractal tree and handlerton code to main
git-svn-id: file:///svn/toku/tokudb@41503 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:14 -04:00
Zardosht Kasheff
7942bcf209 [t:4028], merge to main
git-svn-id: file:///svn/toku/tokudb@41142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:13 -04:00
Barry Perlman
e37c5d33de [t:2949] Merge from tokudb.2949 with command, executed at sandbox/toku {{{svn merge -r39023:HEAD tokudb.2949 tokudb}}}. Refs #2949.
git-svn-id: file:///svn/toku/tokudb@39376 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:08 -04:00
Zardosht Kasheff
4b54122313 [t:4375], merge to main
git-svn-id: file:///svn/toku/tokudb@38666 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:04 -04:00
Leif Walsh
784f47a841 [t:4002] Commiting HOT to main.
git-svn-id: file:///svn/toku/tokudb@38549 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:03 -04:00
Barry Perlman
ecb2859af2 [t:4184] #4184 Merge tokudb.4184c to main. Main now supports stat64 and keyrange64.
git-svn-id: file:///svn/toku/tokudb@37921 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:00:00 -04:00
Bradley C. Kuszmaul
6cc79aee9d close[t:4273] Fix #4273. {{{svn merge -r 37842:37875 ../tokudb.4273}}}.
git-svn-id: file:///svn/toku/tokudb@37891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Zardosht Kasheff
8ec25fb7a5 [t:4260], [t:4239], merge to main
git-svn-id: file:///svn/toku/tokudb@37751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:59 -04:00
Rich Prohaska
f7a3b41b18 #4137 remove atomic.h refs[t:4137]
git-svn-id: file:///svn/toku/tokudb@37157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:57 -04:00
Barry Perlman
69b5e84d44 [t:4050] #4050 Removed some redundant bookkeeping and replaced some unnecessarily conservative XCALLOC() uses with XMALLOC().
git-svn-id: file:///svn/toku/tokudb@36873 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -04:00
Bradley C. Kuszmaul
ca1d9f06ca [t:4133] Candidate #4133 (set version to 16).
git-svn-id: file:///svn/toku/tokudb@36855 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:56 -04:00
Barry Perlman
7d828bbd29 [t:4050] #4050 Merge tokudb.4050 to merge, done with command svn merge -r36213:HEAD tokudb.4050 tokudb
git-svn-id: file:///svn/toku/tokudb@36808 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Bradley C. Kuszmaul
489e8c7b5f close[t:3994] {{{svn merge -r36763:36780 ../tokudb.3994c}}}. Closes #3994.
git-svn-id: file:///svn/toku/tokudb@36781 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:55 -04:00
Zardosht Kasheff
2753164f2a [t:4062], fix small bug, add test
git-svn-id: file:///svn/toku/tokudb@36694 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
00e8c8c224 [t:3997], merge to main
git-svn-id: file:///svn/toku/tokudb@36689 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
7295d90993 [t:4062], fix small bug
git-svn-id: file:///svn/toku/tokudb@36674 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Zardosht Kasheff
0dd7183824 [t:4062], fix small bug
git-svn-id: file:///svn/toku/tokudb@36673 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Rich Prohaska
04d6214089 #4079 add last verification time to the brt header closes[t:4079]
git-svn-id: file:///svn/toku/tokudb@36487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:54 -04:00
Barry Perlman
0cc59b6952 [t:4094] Closes #4094 Delete obsolete symbol OMT_ITEM_OVERHEAD (which was defined as zero).
git-svn-id: file:///svn/toku/tokudb@36450 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Bradley C. Kuszmaul
0f26da1e0c close[t:4077] Merge 4060 branch to main (use two reads on brtnodes).
{{{
svn merge -r35827:36428 ../tokudb.4060
}}}
Refs #4060, Fixes #4077.


git-svn-id: file:///svn/toku/tokudb@36435 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
John Esmet
d7dcad8d66 fix a small invariant bug while reading brtheader off disk
git-svn-id: file:///svn/toku/tokudb@35947 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:53 -04:00
Barry Perlman
1fbb0cca06 [t:3982] #3982 Remove field optimized_for_upgrade from basement.
git-svn-id: file:///svn/toku/tokudb@35851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
be2c3705ec [t:3982] #3982 Add field optimized_for_upgrade to brtnode. Stil need to remove it from basement.
git-svn-id: file:///svn/toku/tokudb@35847 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Barry Perlman
bb3aebd0bd [t:3982] #3982 Fix some broken upgrade mechanisms. Fix misnamed field in ydb.c. Replace brt header field num_blocks_to_upgrade with explicit num_blocks_to_upgrade_13 and num_blocks_to_upgrade_14. Add some TODO comments.
git-svn-id: file:///svn/toku/tokudb@35836 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
Bradley C. Kuszmaul
9acace70eb close[t:4056] Fix #4056. (Leafnode partition now allows for aligned and partial I/O, or even reordering the partitions to pack them more tightly).
git-svn-id: file:///svn/toku/tokudb@35821 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:52 -04:00
John Esmet
8598214490 [t:4018] 4018 changes to main
git-svn-id: file:///svn/toku/tokudb@35662 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:51 -04:00
Zardosht Kasheff
9948adca3c [t:3923], merge to main
git-svn-id: file:///svn/toku/tokudb@35506 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:50 -04:00
Leif Walsh
6503cb59fe I apparently don't know how shells work
git-svn-id: file:///svn/toku/tokudb@34754 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
3db70c8879 [t:3762] as a result of performance testing on pointy, I have determined that cilk is better than threadpools, so I'm putting cilk back in serialization
git-svn-id: file:///svn/toku/tokudb@34537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
b6b2abd24b [t:3884] reverting an accidental commit of something else in the tree
git-svn-id: file:///svn/toku/tokudb@34528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
a05d366551 [t:3884] adding Id keyword
git-svn-id: file:///svn/toku/tokudb@34527 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:49 -04:00
Leif Walsh
28392ad8a0 [t:3928] serialize freshness bit too
git-svn-id: file:///svn/toku/tokudb@34355 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Leif Walsh
d4b6b7efed [t:3889] [t:3890] merging IndexedAndVersionedBuffers to mainline
git-svn-id: file:///svn/toku/tokudb@34348 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Zardosht Kasheff
1a5dbd80e5 [t:3645], merge to main
git-svn-id: file:///svn/toku/tokudb@34156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:48 -04:00
Leif Walsh
32a778c43f [t:3315] merge indexed buffers work into mainline
git-svn-id: file:///svn/toku/tokudb@33979 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:47 -04:00
Leif Walsh
b669ec96d6 [t:3635] [t:3764] [t:3757] [t:3749] merging tokudb.3635+prefetch into mainline, pending testing, fixes #3635, #3764, #3757, #3749
git-svn-id: file:///svn/toku/tokudb@33537 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-16 23:59:46 -04:00