Permalink
Commits on Oct 17, 2012
  1. Merge pull request #56 from basho/remove-author-tags

    remove -author attributes from source
    Gregory Burd committed Oct 17, 2012
  2. Fix file descriptor leak after start() after AC power failure

    A customer reports an eleveldb problem (`emfile` errors due to file
    descriptor leaking) that was apparently the result of the twisted
    flaming wreckage of:
    
    1. A large ring size on a small cluster of machines (exact ring
    size unknown, cluster size likely 5 or 7 nodes)
    
    2. Under an extremely heavy Riak CS workload, which was under a
    high stress workload involving exclusively files at 10+ MByte and
    thus writing much more data to Bitcask than a high stress workload
    involving 10 byte files.
    
    3. The power plug was pulled/tripped/popped on one of the Riak
    nodes.
    
    4. The machine promptly rebooted, checked file system state, and
    attempted to restart Riak.
    
    5. Riak restarted with most/all? Bitcask instances complaining about
    truncated data & hint files but appeared to start them successfully.
    
    6. However, file descriptor leaks caused eleveldb instances to crash
    with `emfile` errors.
    
    This fix introduces a new parameter to `scan_key_files()`, telling
    it to close files (or not) as it folds across each data file.
    
    The two test functions, `t0/0` and `t1/0`, are added to show the
    effect of the file descriptor leakage.  The former shows how
    the leak at `bitcask:start()` is addressed by this patch.  Leaks
    via merge or delete as shown by `t1/0` are not addressed.  Both
    functions are not really demos and not yet eunit tests (due to
    relying on platform-specific utilities like `seq` and `lsof`).
    slfritchie committed Oct 17, 2012
Commits on Oct 2, 2012
  1. Merge pull request #49 from basho/dip_rebar2.0

    update rebar to 2.0.0
    Dave Parfitt committed Oct 2, 2012
Commits on Sep 25, 2012
  1. Merge pull request #59 from basho/dss-timeshift-crc

    Dss timeshift crc
    dizzyd committed Sep 25, 2012
Commits on Sep 24, 2012
  1. Rework close/close_for_writing to consistently close hintfiles; API c…

    …aller shouldn't have to worry about which close function to call.
    dizzyd committed Sep 24, 2012
Commits on Sep 23, 2012
  1. Ensure write_file is updated in all cases after attempting a write; o…

    …therwise CRC on hintfiles may be incorrect.
    dizzyd committed Sep 23, 2012
Commits on Sep 13, 2012
  1. Roll version of bitcask 1.5.2

    Jared Morrow committed Sep 13, 2012
  2. Merge pull request #54 from basho/jfw-br-grace_timeout

    Adds "grace period" to stop just-written files from expiring.
    chardan committed Sep 13, 2012
  3. Seperates candidate finding function as per conversation with Reid;

    removes initials.
    Jesse Williamson committed Sep 13, 2012
Commits on Sep 10, 2012
  1. NeedsMerge should use the grace calculation, but not the threshold

    computation.
    Jesse Williamson committed Sep 10, 2012
  2. Corrects wrong getopt() value (thanks DaJoe!)

    Jesse Williamson committed Sep 10, 2012
Commits on Sep 8, 2012
  1. Merge pull request #55 from basho/jem-os-timestamp

    Change erlang:now() -> os:timestamp() when it is safe
    Jared Morrow committed Sep 8, 2012
  2. Change erlang:now() -> os:timestamp() when it is safe

    Jared Morrow committed Sep 8, 2012
Commits on Sep 7, 2012
  1. Updated, should remove debugging code.

    Jesse Williamson committed Sep 7, 2012
Commits on Sep 5, 2012
  1. Adds "grace period" to stop just-written files from expiring.

    Jesse Williamson committed Sep 5, 2012
Commits on Aug 29, 2012
  1. Merge pull request #45 from joecaswell/update

    remove arbitrary 120-char limit on log_needs_merge messages
    jonmeredith committed Aug 29, 2012
Commits on Aug 16, 2012
  1. Use port_specs

    Dave Parfitt committed Aug 16, 2012
  2. Makefile test target uses new apps= syntax

    * only if uncommented
    Dave Parfitt committed Aug 16, 2012
  3. update rebar to 2.0.0

    Dave Parfitt committed Aug 16, 2012
Commits on Jul 23, 2012
Commits on Jul 2, 2012
  1. Add chat bot notification.

    seancribbs committed Jul 2, 2012
Commits on Jun 27, 2012
  1. Merge pull request #44 from basho/add-travis-ci

    Add Travis CI hook and build status.
    seancribbs committed Jun 27, 2012
Commits on Mar 6, 2012
  1. Roll version 1.5.1

    Jared Morrow committed Mar 6, 2012
Commits on Mar 4, 2012
  1. Fix incorrect NIF error tuples

    jtuple committed Mar 4, 2012
Commits on Feb 19, 2012
  1. Roll version 1.5.0

    Jared Morrow committed Feb 19, 2012
Commits on Feb 16, 2012
  1. Merge pull request #38 from basho/adt-fix-eqc-test

    Fix incorrect timeout and remove flaky counterexample code
    Vagabond committed Feb 16, 2012