Gregory Burd
3302ab26ed
Use the develop branch for now.
2013-11-19 14:16:26 -05:00
Gregory Burd
68d9ed942b
Update to WiredTiger 1.6.6
2013-11-18 20:54:59 -05:00
Gregory Burd
9d2896016b
A few build automation changes/fixes.
2013-10-02 14:41:06 -04:00
Gregory Burd
942e51b753
OS/X uses ".dylib" rather than ".so" for shared libraries (because it's
...
special) so I've worked around that. Also tightened up some tests so that
we're not rebuilding the libraries when not necessary.
2013-09-06 09:54:55 -04:00
Gregory Burd
33c8e53ccf
Update to latest release of WiredTiger. Also, make sure Snappy builds before WiredTiger.
2013-08-21 12:16:24 -04:00
Gregory Burd
9a5defd8c9
Merge remote-tracking branch 'origin/master' into gsb-workers-migrate
...
Conflicts:
c_src/async_nif.h
2013-07-26 10:31:23 -04:00
Gregory Burd
452d7694a6
Added some sanity checking of key/value sizes. Check for EAGAIN/INVAL/NOMEM when starting worker threads. Switch back to the 1.6.3 release branch of WT.
2013-07-26 10:27:21 -04:00
Gregory Burd
3627ff8690
Ensure that on EAGAIN we continue to try to spawn a worker. When workers finish with a queue have them migrate to the other queues looking for work.
2013-07-25 13:29:16 -04:00
Gregory Burd
2a847b82d0
Forgot to remove this when I dumped the MRU.
2013-07-18 13:21:22 -04:00
Gregory Burd
bd0323af7a
Update to WiredTiger 1.6.3. Fix a condition where a mutex was unlocked twice on eagain when queues were all full.
2013-07-15 12:21:10 -04:00
Gregory Burd
c41e411a92
Worker threads come and go as needed with a lower bound of 2 and an
...
upper bound of ASYNC_NIF_MAX_WORKERS. Stats were improved to use
thread local storage for measures. With stats working again wterl
uses them to determine who to evict. Wterl's signature calculation
for an operation wasn't correct and so the cache wasn't efficient at
all, this has been fixed.
2013-06-25 13:31:43 -04:00
Gregory Burd
50e24d0f48
Add a longer, multi-table test. Use a release version of WiredTiger from now on.
2013-06-18 09:21:58 -04:00
Gregory Burd
a2cd1d562c
WIP: devising a better way to cache/reuse session/cursor pairs.
2013-05-28 16:14:19 -04:00
Gregory Burd
013251e6d9
Update WiredTiger statistics less frequently and fix a build script
...
mistake preventing checking out by branch name.
2013-05-14 13:51:44 -04:00
Gregory Burd
d1d648af1e
Now matches against proper library name and prevents rebuilding when unnecessary.
2013-05-01 22:00:43 -04:00
Gregory Burd
d93f0bc162
A more friendly approach to make clean in c_src.
2013-04-26 18:57:17 -04:00
Gregory Burd
f1cb6f8c61
Remove support for bzip2. Change build_deps.sh to only remove the
...
build files from wiredtiger when cleaning rather than all the files.
2013-04-26 10:34:57 -04:00
Gregory Burd
c410312c40
Switch to the develop branch.
2013-04-26 10:07:10 -04:00
Gregory Burd
46243ff54a
Remove debug compiler flags.
2013-04-23 15:00:44 -04:00
Gregory Burd
40bdda15bb
Create links for bzip2 shared libraries.
2013-04-19 12:33:20 -04:00
Gregory Burd
7b1dcb507d
Need to copy shared library links for bzip2 as well (duh).
2013-04-19 11:14:03 -04:00
Gregory Burd
01a8926160
Shared libs and files linking to them must be copied into our priv
...
dir so that at runtime we can find the correct files.
2013-04-19 11:03:40 -04:00
Gregory Burd
60dd048b7e
Move the FIFO Queue implementation into its own file (fifo_q.h). Work
...
on the nif_unload path. Free up resources owned by wterl.c when
unloading. Continue to evolve the build script. Add to khash the ability
to create a hash that maps from a pointer to a value. There is still a segv
due to a race wterl.c:do_unload() which needs to be addressed.
2013-04-18 10:37:36 -04:00
Gregory Burd
1ae8e5698f
Ensure that the ratio of workers to queues is 2:1 and that there are at
...
least 2 queues regardless. Fix a few race conditions (h/t Sue from
WiredTiger for some nice work) and cherry pick (for now) a commit that
fixes a bug I triggered and Keith fixed (in < 10min from report) related
to WiredTiger stats. Ensure that my guesstimate for session_max is no
larger than WiredTiger can manage. Continue to fiddle with the build
script.
2013-04-17 16:48:23 -04:00
Gregory Burd
123dfa600e
Simplified the worker look function. Added ability to pick block
...
compressor in config, default is snappy, off is {block_compressor, none}.
2013-04-17 13:19:06 -04:00
Gregory Burd
87f70d75a1
Inline the fifo_q functions to speed them up and silence compiler warnings
...
for unused API calls. Add a fifo_q_full call to hide the details of that.
Alloc work queues along with the async_nif at the end of that memory block.
Fix a few places where things should be free'd and were not. Change enqueue
to return 0 when shutting down. Fix a race related to shutdown. When I use
gdb eunit calls ?cmd() seem to fail, so I've created rmdir:path() to replace
?cmd("rm -rf path") calls.
2013-04-17 11:17:13 -04:00
Gregory Burd
1913e7fdf5
Continue to iterate on the build system to accomodate shared libs.
2013-04-16 21:46:53 -04:00
Gregory Burd
13a9036764
So, WiredTiger prefers that extensions be shared libraries however those
...
extensions reference other shared libraries. Previously I tried to turn
all those shared libs into static libs, however that didn't pan out so well.
So now the libwiredtiger.so library is loaded by wterl.so also, later on
during use libwiredtiger.so will load libwiredtiger_snappy.so and
libwiredtiger_bzip2.so which now have libsnappy.a and libbz2.a respectively
linked statically so as to avoid confusion.
2013-04-16 19:31:10 -04:00
Gregory Burd
36c1d3f829
Move things around in the build script to get a bit of reuse.
2013-04-16 16:24:04 -04:00
Gregory Burd
bd4d852a19
Remove wildcards from the patch file names and fix checkout of wiredtiger repo to pull and track remote branch.
2013-04-16 17:41:00 +00:00
Gregory Burd
249c600554
Switching back to static linking to avoid platform issues and have
...
confidence when in deployment of what code is being used.
2013-04-16 11:47:04 -04:00
Super-User
15a9a70c41
bzero isn't portable, use memset instead. Include bzip2 and snappy source for use by WT block compression
...
e
2013-04-14 21:23:57 +00:00
Gregory Burd
5a73264307
WIP -- Most tests passing, truncate and drop failing due to EBUSY,
...
also not sure why there is a segv when exiting but not in gdb.
Unlock mutex before returning error codes. Alloc/free copies of some
strings allocated on the stack.
2013-04-11 11:57:41 -04:00
Gregory Burd
a75d60bf27
Add an RPATH to the extionsion shared libs so they can find objects in the priv/ directory at runtime
2013-04-01 16:17:18 -04:00
Gregory Burd
95a6f52a1d
Whitespace
2013-04-01 14:00:06 -04:00
Gregory Burd
e3219ff2c5
Add linker flags so that shared libraries are found relative to either the wterl layout or the Riak layout.
2013-03-28 22:21:36 -04:00
Gregory Burd
3ef48e0ac0
Change from static linking to dynamic. Enable snappy and bzip2 compression.
2013-03-28 10:24:26 -04:00
Gregory Burd
ab45690a4b
Pull via http to avoid certificate errors with https on certain platforms
...
(Illumos, SmartOS, Solaris... I'm looking at you.) Speed up builds by
running make in parallel (use all the cores!).
2013-03-16 16:41:26 -04:00
Gregory Burd
021dcb10f5
Build from source pulled from a specific branch on GitHub for "basho"
...
related work and integration of WiredTiger rather than the latest
.tar.bz2 file they distribute.
2013-03-12 17:16:15 -04:00
Steve Vinoski
446362d11a
update to WiredTiger 1.4.2
2013-01-14 19:13:45 -05:00
Steve Vinoski
f67a2dd7af
update to WiredTiger 1.4.1
2012-12-12 23:57:21 -05:00
Steve Vinoski
6768b86484
update to WiredTiger 1.4.0
2012-12-04 11:20:33 -05:00
Steve Vinoski
c9df3959c8
update to WiredTiger 1.3.8
2012-11-22 23:14:01 -05:00
Steve Vinoski
bb4de898ab
update to WiredTiger 1.3.7
2012-11-09 12:51:40 -05:00
Steve Vinoski
317ae4164d
update to WiredTiger 1.3.6
2012-11-06 12:41:36 -05:00
Steve Vinoski
f8454b11e1
update to WiredTiger 1.3.5
2012-10-26 09:19:47 -04:00
Steve Vinoski
62252ee6ba
update to WiredTiger 1.3.4
2012-10-19 08:17:19 -04:00
Steve Vinoski
d7127b03e2
update to WiredTiger 1.3.3
2012-10-11 13:33:37 -04:00
Steve Vinoski
b2807e2c14
upgrade to WiredTiger version 1.3.0
...
Since 1.3.0 folded the session sync function into the session checkpoint
function, the wterl:sync/(2,3) functions are now renamed
wterl:checkpoint/(1,2). See
http://source.wiredtiger.com/1.3.0/upgrading.html for details.
2012-09-17 10:58:48 -04:00
Steve Vinoski
6c808da7af
update to WiredTiger 1.2.2
2012-06-20 15:24:16 -04:00