Commit graph

  • 1409096860 Renamed get_lg_dir() to get_lg_dir_info and added get_data_dirs_info(). Both new calls return the filesystem id and the number of mbytes available on that filesystem. Jon Meredith 2009-05-29 12:13:19 -0600
  • 2c6277bdf4 Added unknown db type for opening existing databases. Jon Meredith 2009-05-29 07:42:18 -0600
  • 553ed4eda1 Enhanced error reporting to return atoms for libc errno, common bdb errors and bdberl errors. Jon Meredith 2009-05-29 07:26:59 -0600
  • 9d081c0572 Added empty flag version for each of the stat functions. Jon Meredith 2009-05-28 12:39:14 -0600
  • c74beeba9f Added transaction stats. Jon Meredith 2009-05-28 12:05:52 -0600
  • e4757031a2 Added mutex stats. Jon Meredith 2009-05-27 16:49:18 -0600
  • e80dc97d6d Added memory pool statistics. Jon Meredith 2009-05-27 16:31:26 -0600
  • 62d4522580 Added log stats Jon Meredith 2009-05-27 15:25:50 -0600
  • 70dd9ee11a Added lock_stat/1 and lock_stat_print/1 functions to get lock stats. Jon Meredith 2009-05-27 15:02:58 -0600
  • 05c1754e7f Added stat/2 and stat_print/1, stat_print/2 functions for retrieving/displaying stats about the BDB subsystem. Jon Meredith 2009-05-27 14:03:11 -0600
  • 66e1b409ec Make txn begin async relative to VM Dave Smith 2009-05-27 11:21:35 -0600
  • cfc479b73a Bumped version for release. RELEASE-11 Jon Meredith 2009-05-22 14:04:14 -0600
  • e2032bb474 Change to bdb build flags requested by Mariella. Remove --enable-o_direct, added --disable-replicationw Jon Meredith 2009-05-22 14:03:34 -0600
  • ab43a03b17 Fixed a problem in the Rakefile. Phillip Toland 2009-05-07 15:30:20 -0500
  • 02e56bbc94 Version bump. RELEASE-10 Phillip Toland 2009-05-07 15:22:37 -0500
  • 351eb91156 Fix bad call to warning_msg Dave Smith 2009-05-05 10:52:25 -0600
  • 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. Dave Smith 2009-05-04 13:39:35 -0600
  • e015bf415c Ignore the priv/mibs directory Phillip Toland 2009-04-24 16:22:13 -0500
  • a81e8e20c9 Make sure faxien:package includes mibs/ RELEASE-9 Dave Smith 2009-04-24 09:53:55 -0600
  • 2d2fd94769 Remove unnecessary mkdir in buildlib.sh Dave Smith 2009-04-24 09:41:40 -0600
  • 621a2bc30e 8 -> 9 Dave Smith 2009-04-24 09:34:09 -0600
  • 42abfa33e7 Another stupid printf removed. Dave Smith 2009-04-24 09:33:44 -0600
  • 41f7213235 Rework trickle/checkpoint to use same thread and avoid tromping on each other; add SNMP reporting to the logger Dave Smith 2009-04-24 09:33:01 -0600
  • 7bad64484d Adding MIB Dave Smith 2009-04-24 09:32:43 -0600
  • 4391aedbfa Enable support for SNMP MIB compliation Dave Smith 2009-04-24 09:30:06 -0600
  • da7fee83c9 Disable patching for BDB by default; keeping actual patch around in case we want to test with it. Dave Smith 2009-04-24 09:29:20 -0600
  • 83d278b0dd Remove sloppy printf (my own stupid fault) Dave Smith 2009-04-23 10:21:03 -0600
  • 450fc4addb Bumping to version 8 (old .app file for some reason?!) RELEASE-8 Dave Smith 2009-04-22 14:45:08 -0600
  • ce393ba7b2 Adding patch for getting O_DIRECT to work on linux; also enabling in build of BDB Dave Smith 2009-04-22 14:42:58 -0600
  • fb9230ffb9 Fixed a link problem in the Rakefile. Phillip Toland 2009-04-22 11:24:17 -0500
  • 2bc97fe508 Update Rakefile to work with erlbox 1.4.2 Phillip Toland 2009-04-16 15:11:13 -0500
  • 1281a0c07f Implementing API and process for routing BDB log messages into the OTP logger Dave Smith 2009-04-16 07:08:50 -0600
  • 22f33e0b0d Adding support for registering a logger port/pid to capture BDB messages Dave Smith 2009-04-16 07:08:22 -0600
  • d6374488eb Adding constant for new register_logger event Dave Smith 2009-04-16 07:07:54 -0600
  • f4a9d2dd09 Remove dialyzer task and rename package to faxien:package. Phillip Toland 2009-04-06 13:04:38 -0500
  • f7b1b51872 Added a Rake task for running dialyzer Phillip Toland 2009-03-03 12:17:44 -0600
  • d6cc338707 Tweaked the type specs. Phillip Toland 2009-03-03 12:17:30 -0600
  • ca89c4001a Add parameter for txn flags to update Phillip Toland 2009-03-03 11:45:51 -0600
  • e492c51026 Added ability to pass flags to transaction/3 Phillip Toland 2009-03-03 11:37:51 -0600
  • c3d7638c0b Make transactions use snapshots by default; has no effect if DB not opened with support for multiversion Dave Smith 2009-03-02 13:33:20 -0700
  • 3c84d5dd44 Add configuration flags for trickle time/percentage Dave Smith 2009-03-02 13:33:03 -0700
  • 6e9d6784ae Version bump. RELEASE-6 Phillip Toland 2009-02-27 11:09:00 -0600
  • 50e2fc4600 Fix b0rked commit. Phillip Toland 2009-02-26 15:37:07 -0600
  • 277e9cbfe6 Added definitions for more error codes. Phillip Toland 2009-02-20 09:47:45 -0600
  • 5b5642a957 Fleshed out API documentation. Phillip Toland 2009-02-19 17:06:00 -0600
  • da4386967d Added skeleton documentation. Phillip Toland 2009-02-18 17:11:12 -0600
  • 8b13a5aefe Bunch of changes based on input from dialyzer. Phillip Toland 2009-02-18 15:13:09 -0600
  • 73c69b3ce7 Ignore edoc output. Phillip Toland 2009-02-18 10:18:46 -0600
  • 6e841ad8fa Fixed some specs. Phillip Toland 2009-02-17 16:18:33 -0600
  • eede56ed4f Added type specs. Phillip Toland 2009-02-17 14:47:42 -0600
  • ab1e627089 Rename tune_system to get_info and remove set calls. Phillip Toland 2009-02-16 16:57:48 -0600
  • fe3606b881 Check for return values in transaction/2. Closes 818. Phillip Toland 2009-02-16 16:09:51 -0600
  • 6c03f7fd40 Whitespace cleanup. Phillip Toland 2009-02-16 12:38:51 -0600
  • 1d755f7280 Bumping vsn to 5 for release Jon Meredith 2009-02-12 13:39:43 -0700
  • a27498b6c0 Fixed annoying unused variable message. Jon Meredith 2009-02-12 13:24:01 -0700
  • 449fc0ce48 Merge branch 'master' of ecommons@wax.hive:bdberl Jon Meredith 2009-02-12 13:21:55 -0700
  • 552f2ac89a Made sure all erlang binary signed/unsigned integers match up with C data types through the control function. Jon Meredith 2009-02-12 13:20:14 -0700
  • 58970fd32c Use Erlbox. Phillip Toland 2009-02-12 12:49:50 -0600
  • d3dba23aed Moved zero-ing of async_pool/job inside mutex to avoid risk of race in bdberl_drv_stop. Jon Meredith 2009-02-12 11:19:51 -0700
  • 2cd33e3b83 Added test for transaction/2 once bug 818 is resolved. Jon Meredith 2009-02-12 11:13:58 -0700
  • 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 Jon Meredith 2009-02-11 12:04:37 -0700
  • 62e8fa569c Changed driver shutdown to clear util thread active flags before signalling them. Added debug messages on util thread error. Jon Meredith 2009-02-11 11:58:39 -0700
  • 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. Jon Meredith 2009-02-11 11:22:44 -0700
  • 5ccd73c2ea Added some pedantic defaults to make super-duper-extra-special sure things are as we expect. Jon Meredith 2009-02-10 15:24:04 -0700
  • c8699679c3 Added protection for growing past too many entries to the hash going off the end of the primes list. Jon Meredith 2009-02-10 15:22:02 -0700
  • 153d4615cd Merge branch 'master' of ecommons@wax.hive:bdberl Jon Meredith 2009-02-10 13:11:35 -0700
  • f6e84539d4 Added return value check to db_env_create. Fixed uninitizialized variable error with fn pointer. Jon Meredith 2009-02-10 08:59:16 -0700
  • d833ca708c Changed bdberl_tpool_run to set a pointer to the job structure rather than return it. There was an issue where the async thread cleanup code finished before bdberl_tpool_run returned and wrote the address of a freed TPoolJob structure into the ErlDrvPort. Jon Meredith 2009-02-09 15:01:25 -0700
  • 567107ab37 Ignore the faxien package directory. Phillip Toland 2009-02-04 10:11:03 -0600
  • 1979820d2d Bumping vsn to 4 RELEASE-4 Phillip Toland 2009-02-03 12:36:06 -0600
  • 0c1401398a Merge branch 'master' of ecommons@wax.hive:bdberl Phillip Toland 2009-02-03 11:25:59 -0600
  • f1342dc2bd Added variant of truncate that truncates all open databases. Phillip Toland 2009-02-03 10:57:50 -0600
  • aa24f888c0 Get rid of a warning during test. Phillip Toland 2009-02-03 09:37:21 -0600
  • 1c11f81416 Refactored to eliminate some code duplication. Phillip Toland 2009-02-03 09:37:08 -0600
  • ed24fd72e4 Removed some unnecessary debugging statements. Phillip Toland 2009-02-03 09:14:11 -0600
  • 1d7f86ed74 Added \r to the end of debug output so that things line up in the Erlang console properly. Phillip Toland 2009-02-03 09:13:48 -0600
  • df6222a51c Added truncate command. Phillip Toland 2009-02-02 15:51:47 -0600
  • 8ec9bfa342 Bumping vsn to 3 RELEASE-3 Dave Smith 2009-02-02 08:49:17 -0700
  • 4ba6a03aec Change the way timing is handled for the checkpointer to avoid problems on shutdown. Phillip Toland 2009-01-30 12:42:58 -0600
  • 6bbb503da1 Remove old log files after a checkpoint. Phillip Toland 2009-01-29 11:54:33 -0600
  • 75afb8502a Add background checkpoint thread. Phillip Toland 2009-01-29 11:27:37 -0600
  • 068ddec7b2 Bumping to vsn 2 RELEASE-2 Dave Smith 2008-12-18 10:46:20 -0700
  • 45606ddf56 Change binhelper to avoid stupid user errors; now grows the buffer on demand for the specific # of bytes; fix bugs in get_data_dirs/0 (driver and erlang caller) Dave Smith 2008-12-17 14:45:39 -0700
  • 3b9ba443f1 Add more triumphant configuration system for controlling BDB in unit tests Dave Smith 2008-12-17 13:21:19 -0700
  • 7e7bbe574a Merge branch 'master' of ecommons@wax.hive:bdberl Dave Smith 2008-12-17 13:08:10 -0700
  • 68813d0a53 Adding support for list database directories and txn'lly deleting databases Dave Smith 2008-12-17 13:07:36 -0700
  • 695597a10e Merge branch 'master' of ecommons@wax.hive:bdberl Phillip Toland 2008-12-16 16:23:22 -0600
  • 83c18a2bda Created a new stress test. Phillip Toland 2008-12-16 16:22:04 -0600
  • f9b3354c50 Adding support for packaging to enable easier publishing via faxien Dave Smith 2008-12-16 13:16:23 -0700
  • 036e12fd62 Updating build lib to copy over the utilities RELEASE-1 Dave Smith 2008-12-15 15:52:24 -0700
  • 61207c1482 Merge branch 'master' of ecommons@wax.hive:bdberl Dave Smith 2008-12-15 14:35:02 -0700
  • f80a2b2ace Enable use of environment variables for setting location of database Dave Smith 2008-12-15 14:33:50 -0700
  • 28be3ac80a Wrapped debug printfs in bdberl_drv.c with a macro so that they can easily be removed with a recompile. Phillip Toland 2008-12-15 15:05:41 -0600
  • 4494e9736d Added transaction retry logic. Phillip Toland 2008-12-15 14:52:35 -0600
  • 48c5fc3f6c Handle not_found in update(). Phillip Toland 2008-12-15 14:34:13 -0600
  • e154e42771 Fixed a typo that caused much pain and suffering. Phillip Toland 2008-12-15 14:06:08 -0600
  • 865f8958c5 Implemented support for put_commit Dave Smith 2008-12-15 11:47:38 -0700
  • 2d323cb304 Adding support for cursor operations Dave Smith 2008-12-15 11:25:03 -0700
  • f56351e1dc Overhaul driver to avoid use of pipes and simplify memory management Dave Smith 2008-12-15 09:23:19 -0700
  • f20e46d756 Added a new update method that takes args to pass to the fun. Phillip Toland 2008-12-12 15:50:44 -0600