Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: dev/zk/00007
Commits on Jun 5, 2012
  1. @slyphon

    bump version to 1.2.7

    slyphon authored
    [ci skip]
  2. @slyphon

    do not hold the lock while closing, that's impossible

    slyphon authored
    only try to realize the truth
    
    there is no lock
    
    Actually, that's not true. We swap out @czk for nil, and spin up the
    shutdown thread to close the connection, but without holding onto the mutex.
    Since everything is accessing @czk through #czk, they'll get a NotConnected
    exception as soon as its nilled out.
    
    This reduces the chances of deadlock during a potentially hangy operation
    (shutdown of the underlying connection). Also, insert a hard-coded
    30 second tiemout while waiting on the shutdown thread to prevent hanging
    forever in the case of unforseen catastrophe
Commits on Jun 4, 2012
  1. @slyphon

    bump version [ci skip]

    slyphon authored
  2. @slyphon
Commits on Jun 3, 2012
  1. @slyphon

    bump version to 1.2.5

    slyphon authored
  2. @slyphon

    add changelog entry for 1.2.5

    slyphon authored
    [ci skip]
  3. @slyphon

    comment fixen

    slyphon authored
    [ci skip]
  4. @slyphon

    clean up use of locking. do not hold the lock and call into c_zookeeper

    slyphon authored
    when dereferencing @czk, we should be holding the lock, but we should
    release the lock ASAP (definately before calling any method on the backend)
    
    related to #17
  5. @slyphon

    Add a safety to Continuation, timeout after 30s for any operation

    slyphon authored
    No operation should ever block for more than the session timeout value
    (which is currently hardcoded to 20s in zkrb.c).  If a thread has been
    sleeping for more than 30s wake it up with an exception to prevent
    hanging forever.
Commits on May 30, 2012
  1. @slyphon
  2. @slyphon
  3. @slyphon

    cruft cleanup, unused variable

    slyphon authored
  4. @slyphon

    do the legitimate extconf.rb check for rb_thread_blocking_region

    slyphon authored
    Instead of keying off ZKRB_RUBY_187, do an actual check for
    the availability of the thing we're looking for.
Commits on May 24, 2012
  1. @slyphon

    fix bundle/build order

    slyphon authored
  2. @slyphon

    add changelog entry for 1.2.4

    slyphon authored
  3. @slyphon

    bump version

    slyphon authored
  4. @slyphon

    the passwd value is not null terminated

    slyphon authored
    give an explicit length using rb_str_new
  5. @slyphon
  6. @slyphon
Commits on May 23, 2012
  1. @slyphon
  2. @slyphon
  3. @slyphon
  4. @slyphon

    whoops, while/until

    slyphon authored
  5. @slyphon

    make sure in_flight continuations get the finger

    slyphon authored
    we should make sure that *all* continuations get woken up
    no matter *what* the circumstances.
  6. @slyphon
Commits on May 21, 2012
  1. @slyphon

    bump version

    slyphon authored
  2. @slyphon

    bump releaseops

    slyphon authored
  3. @slyphon

    add CHANGELOG entry

    slyphon authored
  4. @slyphon

    don't burn CPU waiting for connected state

    slyphon authored
    Instead of doing a naive Thread.pass, use a condition variable, and hook
    into iterate_event_delivery to set @state when a state event comes through
    and broadcast. This allows us to wait patiently and avoid the race.
  5. @slyphon
  6. @slyphon

    bump version 1.2.1

    slyphon authored
  7. @slyphon
  8. @slyphon

    make assert_open more sane

    slyphon authored
    Since all calls occur on the event thread (for the C module), it makes more
    sense to do the check as part of the call itself inside the event thread,
    rather than queue it up as a separate call.
    
    explicit calls to 'state' will still get priority through the loop.
Commits on May 20, 2012
  1. @slyphon

    tweak the log format

    slyphon authored
  2. @slyphon

    use the logging gem

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