Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for incr/decr operations #1

Open
wants to merge 69 commits into
base: master
Choose a base branch
from

Commits on Mar 19, 2010

  1. Configuration menu
    Copy the full SHA
    9e739f3 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2010

  1. gen_server2 upgrade

    joewilliams committed May 5, 2010
    Configuration menu
    Copy the full SHA
    8742789 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:joewilliams/merle

    joewilliams committed May 5, 2010
    Configuration menu
    Copy the full SHA
    3294247 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2010

  1. added priority queue for gen_server2

    joewilliams committed May 6, 2010
    Configuration menu
    Copy the full SHA
    9e60987 View commit details
    Browse the repository at this point in the history
  2. s/get/getkey in t02

    joewilliams committed May 6, 2010
    Configuration menu
    Copy the full SHA
    ab4bccc View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2010

  1. better disconnect procedure, thanks zabrane

    joewilliams committed Jun 28, 2010
    Configuration menu
    Copy the full SHA
    1fc2c4f View commit details
    Browse the repository at this point in the history
  2. disconnect should be a cast not call

    joewilliams committed Jun 28, 2010
    Configuration menu
    Copy the full SHA
    60b4251 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2012

  1. added incr/2, decr/2, addcounter/1, literal/1

    incr/2 implements the increment command for memcached, decr implements
    the decrement command.
    
    addcounter/1 uses a simple (non-CAS) set to initialized a counter set
    at zero, which can then be fiddled with via incr/2 and decr/2. This
    was necessary because merle functions mainly as a key/value store for
    arbitrary erlang data instead of a general data-store, such as we want
    for cacti purposes.
    
    literal/1 allows the user to submit literal strings over the socket to
    memcached. This should be used with extreme caution as memcached is
    intolerant of malformed input, but it is useful for determining what
    strings sent to memcached should look like and checking assumptions
    about its behavior.
    
    TODO: (optional) need a Check-And-Set version of addcounter so that
    distributed applications can update the same value with incr/2 and
    decr/2. This would save client code from having to try changing a
    value and then making a separate call to initialize it if it does not
    exist.
    Jeremy authored and Jeremy committed Mar 22, 2012
    Configuration menu
    Copy the full SHA
    d312572 View commit details
    Browse the repository at this point in the history
  2. better addcounter/1, incr/2 and decr/2

    All three of the above functions now return more erlang-ish results,
    in keeping with the rest of merle. addcounter/1 also uses incr/2 to
    determine if a prospective key exists before creating it. This should
    be replaced with a CAS-version in the future.
    Jeremy authored and Jeremy committed Mar 22, 2012
    Configuration menu
    Copy the full SHA
    8aeacc7 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2012

  1. Wrapped merle:literal/1 in conditional compilation; documentation

    merle:literal/1 is rough and possibly dangerous to leave in production
    code (why would we let random erlang clients submit arbitrary strings
    to memcached?), so it is now compiled only when the DEV flag is
    defined to erlc.
    
    Added EDoc segments for addcounter/1, incr/2 and decr/2 have been added
    Jeremy authored and Jeremy committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    57194fe View commit details
    Browse the repository at this point in the history
  2. README update

    * added incr and decr to listed features
    
    * added note to the effect that counters aren't erlang terms
    
    * demonstration of incr, decr and addcounter
    
    * examples of delete with counters and incr/decr on counters that
      don't exist
    Jeremy authored and Jeremy committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    da6a303 View commit details
    Browse the repository at this point in the history
  3. Adding myself to contributer list in NOTICES

    Jeremy authored and Jeremy committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    3c0798a View commit details
    Browse the repository at this point in the history
  4. Revert "Adding myself to contributer list in NOTICES"

    This reverts commit 3c0798a.
    Jeremy authored and Jeremy committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    00538e0 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2012

  1. Revert "Revert "Adding myself to contributer list in NOTICES""

    This reverts commit 00538e0.
    Jeremy authored and Jeremy committed Mar 27, 2012
    Configuration menu
    Copy the full SHA
    03148eb View commit details
    Browse the repository at this point in the history
  2. adding LICENSE.txt to the project

    merle is distributed under the MIT license, but doesn't seem to have
    copy of the text of the MIT license with the code. With the addition
    of LICENCE.txt, that little wrinkle should be cleared up.
    Jeremy authored and Jeremy committed Mar 27, 2012
    Configuration menu
    Copy the full SHA
    ab1386e View commit details
    Browse the repository at this point in the history

Commits on May 18, 2012

  1. Trying to rebarify merle

    jesse-lauro committed May 18, 2012
    Configuration menu
    Copy the full SHA
    655f4c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd05757 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    210caa0 View commit details
    Browse the repository at this point in the history
  4. Adding ebin to .gitignore

    jesse-lauro committed May 18, 2012
    Configuration menu
    Copy the full SHA
    a18939f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f724f4d View commit details
    Browse the repository at this point in the history

Commits on May 21, 2012

  1. Configuration menu
    Copy the full SHA
    c2b7b23 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2012

  1. Merged changes from pplov fork. Trying to get connection pooling and …

    …clustering to play nice with added support for increment operations
    jesse-lauro committed Jul 10, 2012
    Configuration menu
    Copy the full SHA
    76bb117 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d216f70 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2012

  1. Configuration menu
    Copy the full SHA
    e037527 View commit details
    Browse the repository at this point in the history
  2. A few changes to the merle parsing of a get response... have to suppo…

    …rt more than just erlang binary term storage in order to support inc/dec operations
    jesse-lauro committed Jul 11, 2012
    Configuration menu
    Copy the full SHA
    a5e2d5f View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2012

  1. Configuration menu
    Copy the full SHA
    a4fda86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e619039 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2012

  1. Configuration menu
    Copy the full SHA
    48fefff View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2012

  1. Fixed bug with merle timeouts. When these occur it's best to kill the…

    … merle process and let the merle_watcher restart it via the supervisor.
    jesse-lauro committed Jul 24, 2012
    Configuration menu
    Copy the full SHA
    a9e8ecd View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2012

  1. Configuration menu
    Copy the full SHA
    6f58759 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2012

  1. Configuration menu
    Copy the full SHA
    0fc016f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73950f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2012

  1. Configuration menu
    Copy the full SHA
    b011877 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2012

  1. Configuration menu
    Copy the full SHA
    26e8ad8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e96b68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    495d231 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ed5898 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    114e463 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2012

  1. Modified strategy so that merle_watchers are managed by process group…

    ….. They manage rebooting failed processes internally so that we don't back the local_pg2's message queue
    jesse-lauro committed Aug 22, 2012
    Configuration menu
    Copy the full SHA
    94fa953 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd9e5bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6c2e95 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0be553f View commit details
    Browse the repository at this point in the history
  5. Changed exit scheme for merle processes.. should now issue exit messa…

    …ge in queue, and move on
    jesse-lauro committed Aug 22, 2012
    Configuration menu
    Copy the full SHA
    394d186 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a0435ab View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ccc51f8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ba88778 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2012

  1. Tweaked supervision tree for merle project, so that if process pool m…

    …gr dies, all outstanding merle watchers will also die
    jesse-lauro committed Aug 23, 2012
    Configuration menu
    Copy the full SHA
    5a708f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f7e194 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    059bab7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebe815d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1eae31a View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2012

  1. Configuration menu
    Copy the full SHA
    83191ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43afd58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f76ea9e View commit details
    Browse the repository at this point in the history
  4. One more time calc

    jesse-lauro committed Aug 24, 2012
    Configuration menu
    Copy the full SHA
    f382bbe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7aec952 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9381814 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0f01024 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1 from jesse-ad/locked-pgs

    Locked pgs
    jesse-lauro committed Aug 24, 2012
    Configuration menu
    Copy the full SHA
    3349a58 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    29ebe6e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4cf1e33 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2012

  1. Configuration menu
    Copy the full SHA
    07e19d7 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2013

  1. No longer greedily initializing all connections upon first start. Ins…

    …tead we initialize on demand.
    jesse-lauro committed Jan 2, 2013
    Configuration menu
    Copy the full SHA
    3fdbf4d View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2013

  1. Simplified connection pooling logic. Now use status is stored within …

    …merle_client itself. merle_pool merely chooses a client, which is then checked out via the exec function
    jesse-lauro committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    0e7459f View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2013

  1. Some bug fixes

    jesse-lauro committed Jan 4, 2013
    Configuration menu
    Copy the full SHA
    f5f6e11 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2013

  1. Configuration menu
    Copy the full SHA
    2e7323f View commit details
    Browse the repository at this point in the history
  2. Fixed a merle code bug

    jesse-lauro committed Jan 10, 2013
    Configuration menu
    Copy the full SHA
    29c93f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ace37f View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2013

  1. Configuration menu
    Copy the full SHA
    592f5d8 View commit details
    Browse the repository at this point in the history