Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

May 27, 2008

  1. Dustin Sallings

    Killed off a slightly elusive bug that was causing sporatic cancellat…

    …ions.
    
    Whenever a read returned in the binary protocol without having read
    enough bytes to fill a header packet, an NPE would be fired that would
    cause us to disconnect from the server and cancel all in-flight
    operations.
    
    This happened occasionally in one of my tests and was rather a pain to
    track down.  It likely never affected anyone since I doubt anyone is
    actually using the binary protocol anywhere today.
    authored
  2. Nelz

    Adding a standard ConnectionFactory to facilitate consistent hashing.

    nelz9999 authored committed

May 14, 2008

  1. Dustin Sallings

    Allow the input, op read and op write queues to be individually speci…

    …fied.
    
    By default, the read queue is 10% larger than the input queue.
    
    With a sufficiently large op read queue, it's possible to never
    internally overflow, but correct values are likely
    application-specific.
    authored
  2. Dustin Sallings

    Updated delete documentation.

    authored
  3. Dustin Sallings

    Some refactoring in the futures to get more consistent behavior.

    authored
  4. Dustin Sallings

    Read before writes and expect IllegalStateException.

    These are two measures that are helping with the queue overflow
    problems.
    
    Firstly, the IllegalStateException is thrown whenever you attempted to
    add to a queue that's full.  If that happens internally, I don't want
    the IO thread to crash, so I add it to the normal ``expected
    exceptions'' list.
    
    Secondly, reading before writing helps keep the read buffer ready for
    new data.  When writing first, the write will have to transition to a
    read and may cause the read buffer to overflow.  It still may happen,
    but by servicing the reads first I can at least get the complete ones
    popped out before piling new ones in (since writes are almost always
    smaller and likely to transition).
    authored
  5. Dustin Sallings

    Tests for queue overflow behavior.

    authored

May 13, 2008

  1. Dustin Sallings

    Some fixups from bug 24 relating to overfilling queues.

    authored

May 11, 2008

  1. Dustin Sallings

    Update the buildr version number -- always forget that.

    authored
  2. Dustin Sallings

    Lengthen the timeout in the text protocol test to match the binary.

    authored
  3. Dustin Sallings

    Turning the timeouts way up during tests.

    I manage to do something that slows stuff down in my full test plan
    which leads to spurious failures.
    
    This may be hinting at a bug of some type, or perhaps some bad
    defaults, but this code isn't attempting to test timeouts so they
    should never get in the way.
    authored
  4. Dustin Sallings

    buildr 1.3 is not ready for me.

    Revert "Updates for a newer version of buildr."
    
    This reverts commit 0fcb055.
    authored
  5. Dustin Sallings

    Smarter assertion check test.

    The previous one passing when assertions weren't enabled.
    Must test the tests.
    authored
  6. Dustin Sallings

    Test fix. Invalid connections shouldn't fail to shut down.

    I think there may be a bigger bug around this, but it only occurs when
    trying to shut down a connection that shouldn't've started due to
    someone writing a broken connection factory, so I think we can live
    with it.
    authored

May 09, 2008

  1. Dustin Sallings

    Updates for a newer version of buildr.

    authored

May 05, 2008

  1. Dustin Sallings

    Disabled test that spuriously fails.

    authored

May 03, 2008

  1. Dustin Sallings

    Wrote a test for async get bulk with a transcoder.

    authored
  2. Dustin Sallings

    Make sure all of the CASMutator constructors are at least run once.

    authored
  3. Dustin Sallings

    Added some negative tests for prepend/append and found some bugs.

    Turns out the ``not found'' error for prepend and append is different
    from that of other commands so I needed to make a case for it.
    authored
  4. Dustin Sallings

    Removed some dead code.

    authored
  5. Dustin Sallings

    Make zero byte packing optional in transcoder utils.

    This is primarily because I don't know for sure the Whalin client
    would know what to do if it saw a 0 byte long.
    authored
  6. Dustin Sallings

    Some tests on the parent class of the serializing transcoders.

    This helps me ensure the contract of certain methods, and (shockingly)
    found some minor bugs in edge cases.
    authored
  7. Dustin Sallings

    Transcoder refactoring and introduction of a Whalin compatible transc…

    …oder.
    authored
  8. Dustin Sallings

    Move testDelayedFlush up since it works in binary now.

    authored
  9. Dustin Sallings

    Reenable the ascii append/prepend tests. I fixed the server bug.

    authored
  10. Dustin Sallings

    Methods for seeing what servers are available or unavailable.

    authored
  11. Dustin Sallings

    Ensure we're computing hashcodes over the UTF-8 bytes of keys.

    authored
  12. Dustin Sallings

    Allow the thread to be marked as a daemon tread through ConnectionFac…

    …tory.
    authored
  13. Dustin Sallings

    Implementation of append and prepend.

    I've got a test failure in ascii append/prepend and I haven't quite
    figured out why it gives an EXISTS error, so this may be broken there.
    Works fine in binary including with CAS operations.
    authored
  14. Dustin Sallings

    Constants should be final.

    authored
  15. Dustin Sallings

    Tests classes must end in Test in order to get picked up.

    I knew pushing at that point was a dumb idea.
    authored
  16. Dustin Sallings

    Tests for timeout operations.

    authored
  17. Dustin Sallings

    Moved operation timeout into the connection factory.

    It shouldn't change at runtime in a client, as the current model was
    not thread safe.  In order for this to be dynamically reconfigurable,
    the field either needs to be volatile or access to the value must be
    synchronized.
    
    By having the value be declared final and removing the mutators and
    accessors, we can guarantee correctness.
    authored
  18. Dustin Sallings

    Speed up the graceful shutdown test slightly.

    This one has been spuriously failing me for a while.  I'd like it to
    consistently run, but I'll settle for 3x more likely for now.
    authored
  19. Dustin Sallings

    Give longer timeouts to LongClientTest as it often times out in cober…

    …tura.
    authored
Something went wrong with that request. Please try again.