Permalink
Commits on Jan 6, 2012
Commits on Dec 24, 2011
Commits on Nov 17, 2011
  1. Update versions for deps

    Jared Morrow committed Nov 17, 2011
  2. Fix dep versions for 1.0.2 tag

    Jared Morrow committed Nov 17, 2011
  3. Roll version 1.0.2

    Jared Morrow committed Nov 17, 2011
Commits on Nov 15, 2011
  1. Merge pull request #241 from basho/bz1254-expose-link-walking-tombstones

    BZ1254: Expose tombstones in siblings and link-walking queries over HTTP.
    seancribbs committed Nov 15, 2011
Commits on Nov 3, 2011
  1. Merge pull request #248 from basho/klm-fix-bitcask-startup-dir-test

    Properly sort results for comparison in bitcask startup_dir_test.
    Jared Morrow committed Nov 3, 2011
  2. Properly sort results for comparison in bitcask startup_dir_test.

    Fixes: az922
    
    For the test to behave properly the results from the call to
    file:list_dir must be sorted and reverse.
    kellymclaughlin committed Nov 3, 2011
Commits on Nov 2, 2011
  1. Merge branch 'az561-pipe-modfun-1.0' into 1.0

    Bryan Fink committed Nov 2, 2011
  2. Fix handling of bitcask data directories to avoid a race during handoff.

    Fixes: az892 bz1263
    
    * Change the bitcask data directory naming scheme so that timestamp
      are no longer appended.
    * Check for existing timestamp-appended data directories and if any
      exist make a determination of the most recent data directory and
      make it the current data directory. Any others are moved to a
      manual_cleanup directory for safe keeping in case the automatic
      determination was incorrect or later manual deletion. If there is
      inconsistency between the most recently modified data directory and
      the directory with the most recent timestamp, the most recently
      modified directory is chosen and a log message is issued.
    * The drop function now moves the current data directory to an
      auto_cleanup directory and a process is spawned that will cleanup
      any files in the directory and delete it. This should make sure to
      avoid the race condition where a data directory created by a new
      instance of the vnode starting a bitcask process is deleted by the
      reaper process.
    * try/after blocks have been added around asynchronous fold functions.
    * The call to ensure_dir has been fixed so that it creates the
      intended directory and not just the parent directory.
    * Add eunit test to verify the behavior on startup with respect to
      handling multiple data directories.
    * Add eunit test for drop function.
    * Add eunit tests for supporting functions get_data_dir and existing_data_dirs.
    * Refactor backend_eqc to use different partitions for each generated
      command set. This is a step towards making the test more similar to
      the actual way the backends are used by Riak.
    kellymclaughlin committed Nov 1, 2011
Commits on Nov 1, 2011
  1. expose modfuns for future pipe use

    AZ561
    
    These functions are not used in this version of riak_kv, but they will be used in
    the next version, and their presence here will smooth the transition.
    Bryan Fink committed Nov 1, 2011
Commits on Oct 29, 2011
Commits on Oct 28, 2011
  1. Merge pull request #243 from basho/AZ895-add-siblings-and-objsize-stats

    Add siblings and objsize stats (AZ895)
    rustyio committed Oct 28, 2011
  2. Fix/clarify stat descriptions.

    AZ895
    rustyio committed Oct 28, 2011
  3. Remove obsolete test code.

    AZ895
    rustyio committed Oct 28, 2011
  4. Remove unnecessary stats, simplify code_change (just let it fail and …

    …restart), and specify custom histogram sizes.
    
    AZ895
    rustyio committed Oct 28, 2011
Commits on Oct 27, 2011
Commits on Oct 20, 2011
  1. Roll version 1.0.1

    Jared Morrow committed Oct 20, 2011
  2. Update dep versions

    Jared Morrow committed Oct 20, 2011
Commits on Oct 18, 2011
  1. BZ1254: Expose tombstones in siblings and link-walking queries over H…

    …TTP.
    
    As discussed in http://issues.basho.com/1254, tombstones that have not
    been reaped may appear in link-walking queries but only appear to be
    empty objects with a Content-Type of "application/octet-stream". This
    adds the X-Riak-Deleted header to multipart bodies emitted by
    link-walking queries (and consequentially siblings that are tombstones
    in normal fetches).
    seancribbs committed Oct 18, 2011
Commits on Oct 14, 2011
  1. Fix bitcask backend to delete pre-1.0 data directories

    Fixes bz1250
    jtuple committed Oct 14, 2011
  2. Merge pull request #239 from basho/bz1249-backup-restore-fail

    Fix backup/restore bug caused by misuse of fixed-up ring
    jtuple committed Oct 14, 2011
  3. Fix backup/restore bug caused by misuse of fixed-up ring

    Fixes BZ1249
    jtuple committed Oct 14, 2011
Commits on Oct 13, 2011
Commits on Oct 12, 2011
  1. BZ1243: Normalize riak_object JSON form.

    * Verifies that round-trips to/from JSON do not diverge.
    * Handles special-case for indexes: they are allowed to have multiple values.
    seancribbs committed Oct 12, 2011
  2. Do not call riak_client:get in ensure_doc if key is undefined.

    Fixes: az852 bz1244
    
    When posting an object without a key, the
    value of the key starts as the atom `undefined` and
    `riak_kv_wm_object:ensure_doc` calls `riak:client:get` and uses `undefined` as the
    value for the key. Atoms are not acceptable as key input to `riak_client:get`.
    The problem mainly manifests when using the Innostore backend. Innostore
    assumes that the key is a binary and calls `erlang:size/1` on the key value. When
    the key is `undefined` this results in an exception being thrown by Innostore.
    The POST to create the object will succeed, but not until after the call to
    riak_client:get times out and this can be a significant delay.
    
    This change adds another function clause to riak_kv_wm_object:ensure_doc
    to set the doc member of the context record to `{error, notfound}` in the case
    where the key is `undefined`.
    kellymclaughlin committed Oct 12, 2011
Commits on Oct 11, 2011
  1. Merge pull request #235 from basho/az807-json-prereduce

    Allow per-phase pre-reduce for JS/HTTP queries
    rustyio committed Oct 11, 2011