Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 4, 2012
  1. @jtuple

    Fix incorrect NIF error tuples

    jtuple authored
Commits on Jan 11, 2012
  1. @jonmeredith

    Decode off_t argument more carefully for pread/pwrite calls.

    jonmeredith authored
    On some platforms sizeof(off_t)==8, sizeof(unsigned long) == 4
    so the pos argument for read and write is half garbage.
Commits on Dec 27, 2011
  1. @dizzyd

    Track oldest tstamp in a bitcask data file

    dizzyd authored
    keydir now tracks the oldest tstamp in a given data file so that it's
    possible to know when a merge needs to be triggered for expiration
    purposes. Expose this info via a new summary_info/1 call. status/1 is
    deprecated since it returns a big tuple instead of a tidy record.
Commits on Dec 19, 2011
  1. @dizzyd

    Add support for O_SYNC

    dizzyd authored
Commits on Dec 14, 2011
  1. @dizzyd

    Add support for create/readonly flag to bitcask_nifs_file_open; remov…

    dizzyd authored
    …e unnecessary auxilary NIFs
Commits on Dec 8, 2011
  1. @dizzyd

    Remove unused var

    dizzyd authored
  2. @dizzyd
Commits on Dec 7, 2011
  1. @dizzyd
Commits on Sep 19, 2011
  1. @jonmeredith
Commits on Sep 13, 2011
  1. @tuncer

    Fix #endif directive

    tuncer authored
  2. @jonmeredith

    Changed bitcask:fold to use the frozen keydir.

    jonmeredith authored
    Previously if the bitcask rolled over to a new file while
    folding you would not visit the old or new versions of the
    object.  Now fold freezes the keydir first and visits
    the frozen items for a consistent snapshot.
  3. @jonmeredith
Commits on Sep 12, 2011
  1. @jonmeredith

    Updates to frozen keydir were not being counted correctly.

    jonmeredith authored
    Started incrementing pending_updates when keydir frozen.
    Cleaned up can_itr_keydir conditions and updated comments.
    Added extra unit test for updates.
Commits on Aug 22, 2011
  1. @jonmeredith

    Updated stale comments.

    jonmeredith authored
Commits on Aug 12, 2011
  1. @jonmeredith
  2. @jonmeredith
Commits on Aug 11, 2011
  1. @jonmeredith
  2. @jonmeredith
  3. @jonmeredith
  4. @jonmeredith

    Removed debug calls to dump_fstats.

    jonmeredith authored
    Left the function in for future debugging.
  5. @jonmeredith
  6. @jonmeredith
  7. @jonmeredith
  8. @jonmeredith

    Reverted stats for remove.

    jonmeredith authored
    And fixed remaining put_int case.
  9. @jonmeredith
  10. @jonmeredith
Commits on Aug 8, 2011
  1. @jonmeredith
  2. @jonmeredith

    Added pending hash and updated get/put/remove to check it. Incomplete.

    jonmeredith authored
    Still needs to be hooked up to iterators and add code to update stats
    and merge back into keydir->entries.
  3. @jonmeredith
  4. @jonmeredith
Commits on May 4, 2011
  1. @jonmeredith

    Review cleanups.

    jonmeredith authored
    Thanks for review comments from Justin.
    * Cleared iterating flag on itr cleanup.
    * keydir_put_int now returns {error, iteration_in_progress).
  2. @jonmeredith

    Replaced rwlock on keydir with simple mutex.

    jonmeredith authored
    Fixes: bz://1090
    Fixes a beam-wide deadlock due to the keydir RW lock being held
    for read in fold_keys while the VM goes in and out of the NIF.
    If a merger thread tries to write it will try and write lock
    in the put_int call.  If the key folder and writer are on the same
    scheduler the put from the merge will block completion of the fold.
    The RW locks have been replaced by a mutex and count of key folders.
    To write the put_int call must lock the mutex and check there are
    not key folders.  If there are it releases the mutex and retries.
    Writes may be blocked for a long time if there are many key folders
    being started.  A fairer wait/notification system should be implemented
    once we are happy this resolves the problem.
    There is a stub function bitcask_nifs:put_retries you can trace
    on to see the count.
Commits on May 3, 2011
  1. @dizzyd
Commits on Apr 5, 2011
  1. add licensing comment

    Justin Sheehy authored
Commits on Mar 16, 2011
  1. @tuncer @dizzyd

    Fix R14B02 compatibility

    tuncer authored dizzyd committed
Something went wrong with that request. Please try again.