Commit graph

233 commits

Author SHA1 Message Date
Dave Smith
e3e0b99494 Adding support for BDBERL_SYSTEM_MEM which sets DB_SYSTEM_MEM flag on environment open; add support for changing default page size via BDBERL_PAGE_SIZE. Must be a power of 2. 2009-05-04 13:39:35 -06:00
Phillip Toland
e015bf415c Ignore the priv/mibs directory 2009-04-24 16:22:13 -05:00
Dave Smith
a81e8e20c9 Make sure faxien:package includes mibs/ 2009-04-24 09:53:55 -06:00
Dave Smith
2d2fd94769 Remove unnecessary mkdir in buildlib.sh 2009-04-24 09:41:40 -06:00
Dave Smith
621a2bc30e 8 -> 9 2009-04-24 09:34:09 -06:00
Dave Smith
42abfa33e7 Another stupid printf removed. 2009-04-24 09:33:44 -06:00
Dave Smith
41f7213235 Rework trickle/checkpoint to use same thread and avoid tromping on each other; add SNMP reporting to the logger 2009-04-24 09:33:01 -06:00
Dave Smith
7bad64484d Adding MIB 2009-04-24 09:32:43 -06:00
Dave Smith
4391aedbfa Enable support for SNMP MIB compliation 2009-04-24 09:30:06 -06:00
Dave Smith
da7fee83c9 Disable patching for BDB by default; keeping actual patch around in case we want to test with it. 2009-04-24 09:29:20 -06:00
Dave Smith
83d278b0dd Remove sloppy printf (my own stupid fault) 2009-04-23 10:21:03 -06:00
Dave Smith
450fc4addb Bumping to version 8 (old .app file for some reason?!) 2009-04-22 14:45:08 -06:00
Dave Smith
ce393ba7b2 Adding patch for getting O_DIRECT to work on linux; also enabling in build of BDB 2009-04-22 14:42:58 -06:00
Phillip Toland
fb9230ffb9 Fixed a link problem in the Rakefile. 2009-04-22 11:24:17 -05:00
Phillip Toland
2bc97fe508 Update Rakefile to work with erlbox 1.4.2 2009-04-16 15:11:13 -05:00
Dave Smith
1281a0c07f Implementing API and process for routing BDB log messages into the OTP logger 2009-04-16 07:08:50 -06:00
Dave Smith
22f33e0b0d Adding support for registering a logger port/pid to capture BDB messages 2009-04-16 07:08:22 -06:00
Dave Smith
d6374488eb Adding constant for new register_logger event 2009-04-16 07:07:54 -06:00
Phillip Toland
f4a9d2dd09 Remove dialyzer task and rename package to faxien:package. 2009-04-06 13:04:38 -05:00
Phillip Toland
f7b1b51872 Added a Rake task for running dialyzer 2009-03-03 12:17:44 -06:00
Phillip Toland
d6cc338707 Tweaked the type specs. 2009-03-03 12:17:30 -06:00
Phillip Toland
ca89c4001a Add parameter for txn flags to update 2009-03-03 11:45:51 -06:00
Phillip Toland
e492c51026 Added ability to pass flags to transaction/3 2009-03-03 11:37:51 -06:00
Dave Smith
c3d7638c0b Make transactions use snapshots by default; has no effect if DB not opened with support for multiversion 2009-03-02 13:33:20 -07:00
Dave Smith
3c84d5dd44 Add configuration flags for trickle time/percentage 2009-03-02 13:33:03 -07:00
Phillip Toland
6e9d6784ae Version bump. 2009-02-27 11:09:00 -06:00
Phillip Toland
50e2fc4600 Fix b0rked commit. 2009-02-26 15:37:07 -06:00
Phillip Toland
277e9cbfe6 Added definitions for more error codes. 2009-02-20 09:47:45 -06:00
Phillip Toland
5b5642a957 Fleshed out API documentation. 2009-02-19 17:06:00 -06:00
Phillip Toland
da4386967d Added skeleton documentation. 2009-02-18 17:11:12 -06:00
Phillip Toland
8b13a5aefe Bunch of changes based on input from dialyzer. 2009-02-18 15:13:09 -06:00
Phillip Toland
73c69b3ce7 Ignore edoc output. 2009-02-18 10:18:46 -06:00
Phillip Toland
6e841ad8fa Fixed some specs. 2009-02-17 16:18:33 -06:00
Phillip Toland
eede56ed4f Added type specs. 2009-02-17 14:47:42 -06:00
Phillip Toland
ab1e627089 Rename tune_system to get_info and remove set calls. 2009-02-16 16:57:48 -06:00
Phillip Toland
fe3606b881 Check for return values in transaction/2. Closes 818. 2009-02-16 16:09:51 -06:00
Phillip Toland
6c03f7fd40 Whitespace cleanup. 2009-02-16 12:38:51 -06:00
Jon Meredith
1d755f7280 Bumping vsn to 5 for release 2009-02-12 13:39:43 -07:00
Jon Meredith
a27498b6c0 Fixed annoying unused variable message. 2009-02-12 13:24:01 -07:00
Jon Meredith
449fc0ce48 Merge branch 'master' of ecommons@wax.hive:bdberl 2009-02-12 13:21:55 -07:00
Jon Meredith
552f2ac89a Made sure all erlang binary signed/unsigned integers match up with C data types
through the control function.
2009-02-12 13:20:14 -07:00
Phillip Toland
58970fd32c Use Erlbox. 2009-02-12 12:49:50 -06:00
Jon Meredith
d3dba23aed Moved zero-ing of async_pool/job inside mutex to avoid risk of race
in bdberl_drv_stop.
2009-02-12 11:19:51 -07:00
Jon Meredith
2cd33e3b83 Added test for transaction/2 once bug 818 is resolved. 2009-02-12 11:13:58 -07:00
Jon Meredith
33cbe20ffb Changed the way end test cleans up tests from a file:delete to a bdberl:delete_database.
Was getting errors with the transaction code...
  api_test.db: unable to flush: No such file or directory
  txn_checkpoint: failed to flush the buffer cache: No such file or directory
2009-02-11 12:04:37 -07:00
Jon Meredith
62e8fa569c Changed driver shutdown to clear util thread active flags before signalling them.
Added debug messages on util thread error.
2009-02-11 11:58:39 -07:00
Jon Meredith
09081f000b Changed the utility thread sleep function to use a custom sleep based on pipe/select
so they can be terminated quickly when the driver shuts down.
2009-02-11 11:22:44 -07:00
Jon Meredith
5ccd73c2ea Added some pedantic defaults to make super-duper-extra-special sure things are as we expect. 2009-02-10 15:24:04 -07:00
Jon Meredith
c8699679c3 Added protection for growing past too many entries to the hash going off the end of the primes list. 2009-02-10 15:22:02 -07:00
Jon Meredith
153d4615cd Merge branch 'master' of ecommons@wax.hive:bdberl 2009-02-10 13:11:35 -07:00