Home > Coding, hamsterdb, Libraries > hamsterdb: release 0.1pre2

hamsterdb: release 0.1pre2

November 4th, 2006

After releasing the first version, and after testing for weeks (i have more then 700 MB of test scripts which run for days), i found a couple of bugs which are fixed now.

Changes

  • enabled support for O_LARGEFILE
  • added the doxygen build script to generate documentation
  • rewrote all SCons-related files
  • rewrote the test environment
  • fixed a bug when allocating big blobs
  • fixed a bug when overwriting keys, and the blob was empty or tiny (<= sizeof(offset_t))
  • fixed a major bug in the freelist which created one new freelist page for every deleted item – therefore, database files became HUGE
  • fixed minor issues on 32bit

Known Issues

  • Iterators are not yet available, and therefore duplicate items are not yet supported
  • No concurrency, no transactions, no SQL support…
  • Only tested on Linux; should compile on most Unices, but definitely not yet on Microsoft Windows.
  • Endian-independent features were not tested
  • older gcc-versions (reproducable with 3.4.5) break hamsterdb, if it’s compiled with enabled optimization (-O); newer gcc-versions (tested with 4.1.1) work. If you have an older gcc-version, compile without -O

Download

You can download hamsterdb sources here: http://www.crupp.de/dl/hamsterdb-0.1pre2.tar.gz

Sample

Example code is provided in the tarball, but also available here: http://www.crupp.de/dl/simple.c

Roadmap to version 0.1

The roadmap was modified. New targets are improved performance, porting to Microsoft Windows, the support for iterators and duplicate items. Also, the decision whether to use SCons or automake/autoconf is not yet final.

chris Coding, hamsterdb, Libraries

  1. No comments yet.
  1. No trackbacks yet.