Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Apr 21, 2010

  1. Matt Ingenthron

    Changed ports in tests for non-listening to something higher.

    Change-Id: I49a3f3238e80c0e9c445df6ac2f32f634300811f
    Reviewed-on: https://review.northscale.com:8443/1298
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Reviewed-by: Eric Lambert <eric.d.lambert@gmail.com>
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Matt Ingenthron <matt@northscale.com>
    ingenthr authored dustin committed

Apr 12, 2010

  1. Matt Ingenthron

    Actually use the args to SASLConnectReconnect; shutdown nicely.

    Change-Id: I7517a355707ed9440974d5b5b947fb13a8ba7142
    ingenthr authored
  2. Matt Ingenthron

    Log operation failures as potential auth failures.

    Change-Id: I8e3f5d7cafda8b6007c96799cb8c09b7c780abc1
    ingenthr authored
  3. Matt Ingenthron

    Handle auth failures more gracefully; maximum failures.

    This change will ensure that autentication failures do not
    hang the thread adding an operation.  The default behavior
    is to try to authenticate forever and whine to the log if
    authentication continues to fail.
    
    Optionally, a developer may define
    net.spy.memcached.auth.AuthThreshold with an integer value
    to set a maximum number of authentication attempts before
    shutting down.
    
    Authentication threads are now spawned and managed by an
    AuthTreadMonitor class, ensuring that for any given
    connection there can only be one outstanding AuthThread.
    
    Change-Id: I0af4ab41d27239e7b555dca7d993e6228b7df5b8
    ingenthr authored
  4. Matt Ingenthron

    Minor fixes to SASL reconnect test.

    Change-Id: Ib7a560c209dd9ac3d8ce0ea36d429228bd92e647
    ingenthr authored

Apr 07, 2010

  1. Greg Kim

    Implementing read-only methods in MemcachedNodeROImpl - issue86

    Change-Id: I3437c4a69d9673d3fc7a2d0611012389b28e3d2f
    Reviewed-on: https://review.northscale.com:8443/1287
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
    gkim authored dustin committed

Mar 31, 2010

  1. Matt Ingenthron

    Enhanced ConnectionFactoryBuilder test for auth.

    ingenthr authored
  2. Matt Ingenthron

    Manual test to ensure correct connection handling with SASL.

    ingenthr authored
  3. Matt Ingenthron

    Changed AuthTest description to match reality.

    ingenthr authored
  4. Matt Ingenthron

    Enhance MemcachedNode to know whether auth should happen.

    When SASL authentication is requested of a MemcachedClient it should
    always ensure that auth takes place before anything else on the queue
    is processed.
    
    After some experimentation, it seems The best way to handle this is to
    extend the MemcachedNode interface to add some methods. This in turn
    allows for the changes to be implemented in the TCPMemcachedNodeImpl
    class.
    
    There is special handling with the inputQueue and addOperation if
    a reconnect occurs during authentication.
    
    It's a bit harder at the BinaryMemcachedNodeImpl, though arguably
    makes more sense there.  Since these are all pretty well hidden as an
    implementation detail, it's okay for it to be here.
    
    Who knows, maybe someday ascii will have SASL.  Probably not though.
    ingenthr authored

Mar 30, 2010

  1. Matt Ingenthron

    Clarify what is planned after a disconnect.

    ingenthr authored

Mar 12, 2010

  1. Matt Ingenthron

    Clarify Future<Boolean>, issue 63.

    ingenthr authored
  2. Matt Ingenthron

    Docs for path to FailureModes on DefaultConnectionFactory. Issue 115.

    ingenthr authored
  3. Matt Ingenthron

    Various Javadoc completeness.

    ingenthr authored
  4. Matt Ingenthron

    Document unexpected incr/decr behavior. Issue 48.

    ingenthr authored

Mar 05, 2010

  1. Matt Ingenthron

    Invert the ConnectionFactoryBuilderTest to go with new logic.

    The contribution by Blair Zajac inverts the ConnectionFactoryBuilder
    defaults to match that of the DefaultConnectionFactory.  This updates
    the tests to check for the new default, and test the new change.
    ingenthr authored
  2. fix for useless check statement that is for continuous timeout except…

    …ion counter
    Ahn Seong Hwa authored ingenthr committed
  3. New TCP connection timeout feature; if server fails completely, d/c.

    With this change, the MemcachedClient has a method of using the
    connection observer to determine a connected server is consistently
    timing out, indicating it has hard-failed.  This will destroy that
    connection so things may rehash or reconnect, depending on the hash
    behavior.
    Ahn Seong Hwa authored ingenthr committed

Mar 02, 2010

  1. Dustin Sallings

    A larger libketama extract for compatibility testing.

    dustin authored
  2. Dustin Sallings

    If the String value of the socket address starts with a /, remove it.

    This is just the default stringification, clients can use whatever
    they want, but by default, this seems to provide consistent results
    with libketama.
    dustin authored

Feb 16, 2010

  1. Blair Zajac

    Fix consistency issue in ConnectionFactoryBuilder.isDaemon()

    DefaultConnectionFactory#isDaemon() is false while
    ConnectionFactoryBuilder builds a ConectionFactory that by default
    returns true for #isDaemon(), so to make them consistent, modify
    ConnectionFactoryBuilder to have #isDaemon() be false.
    blair authored dustin committed

Jan 27, 2010

  1. Dustin Sallings

    Auth fix for mechanisms that have an initial response.

    dustin authored

Jan 09, 2010

  1. Dustin Sallings

    Do blocking inserts from the cache loader test.

    dustin authored
  2. Dustin Sallings

    Get rid of special constructors for op enqueue timeouts.

    dustin authored
  3. Dustin Sallings

    Ensure the factory builder can be used to specify enqueue block size.

    dustin authored
  4. Dustin Sallings

    Replaced Long nanos with long millis for op queue block offer timeout.

    dustin authored
  5. Kristian Eide

    Allow user-specified wait time for availability of queue space.

    This means that instead of raising a queue overflow exception on
    insert, the client can optionally block waiting for space to become
    available instead (with a timeout that will result in the same
    exception).
    kreide authored dustin committed

Nov 11, 2009

  1. Dustin Sallings

    Log the bug that causes reconnection on first connect.

    dustin authored

Nov 06, 2009

  1. Dustin Sallings

    Better auth API, handles connection drops.

    dustin authored
  2. Dustin Sallings

    Use the socket address as the realm.

    dustin authored
  3. Dustin Sallings

    Don't throw away an exception.

    dustin authored
  4. Dustin Sallings

    Reformatted callback handler.

    dustin authored
  5. Dustin Sallings

    Added support for listing SASL mechanisms.

    dustin authored
  6. Dustin Sallings

    Refactored SASL auth for greater reuse.

    dustin authored
  7. Dustin Sallings

    Working multi-step auth.

    dustin authored
Something went wrong with that request. Please try again.