Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 17, 2010
  1. @dustin @steveyen

    Include pthread.h

    dustin authored steveyen committed
    Change-Id: I20d9181d1bf253402cd290d1bd0ad482a9416c9a
    Reviewed-on: http://review.northscale.com/1985
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. @dustin @steveyen

    timer_handler should be static.

    dustin authored steveyen committed
    Change-Id: Iba7c5c6f4c64bbf5d18f4f883af972f8d838383a
    Reviewed-on: http://review.northscale.com/1984
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. @dustin @steveyen

    bug 2006 - Exit if stdin closes, removing need for port_adaptor

    dustin authored steveyen committed
    This rebuilds some older functionality that was removed, but creates a
    controlled shutdown centered around libevent.
    
    stdin reading is still blocking in a separate thread (thank you, Windows).
    
    A new periodic event is fired every one second to ensure that some
    event occurs so we can shutdown the event loop.
    
    Change-Id: I8bb6806bcc4ddf7a5602646fa359b288ccc4c932
    Reviewed-on: http://review.northscale.com/1981
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Aug 16, 2010
  1. @trondn @steveyen

    Fixed printout of start/stop of vbucket move

    trondn authored steveyen committed
    Change-Id: If831e971f15fb0b42852a1e3dcefd6b675034b61
    Reviewed-on: http://review.northscale.com/1956
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Aug 11, 2010
  1. @dustin @seanlynch

    Don't specify a timeout if timeout == 0.

    dustin authored seanlynch committed
    This means ``immediately time out'' not ``don't time out.''
    
    Change-Id: Iffa5faef4c201e22dd5afabce354fa239e52565d
    Reviewed-on: http://review.northscale.com/1812
    Tested-by: Sean Lynch <seanl@literati.org>
    Reviewed-by: Sean Lynch <seanl@literati.org>
  2. @seanlynch @steveyen

    Don't prompt if the user provides an empty password on the command line.

    seanlynch authored steveyen committed
    Change-Id: I2b334f6ecdc4762b86f284acfbd676695292159d
    Reviewed-on: http://review.northscale.com/1801
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Aug 10, 2010
  1. @dustin @steveyen

    Properly handle timeouts per connection.

    dustin authored steveyen committed
    This part of libevent is kind of poorly documented and you can very
    easily make mistakes in the API that cause just... weird behavior.
    
    This manifested by failing to work when timeouts and auth were mixed.
    Now it's an OK combo.
    
    Change-Id: I4a5858ebb26db661ada7e9042df8a8f1b4a321e8
    Reviewed-on: http://review.northscale.com/1798
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. @dustin

    Add -p to specify password on command line.

    dustin authored
    Conflicts:
    
    	src/vbucketmigrator.cc
    
    Change-Id: Ib16fb55255e7e356d2531106af30082f14465738
    Reviewed-on: http://review.northscale.com/1631
    Tested-by: Dustin Sallings <dustin@spy.net>
    Reviewed-by: Dustin Sallings <dustin@spy.net>
  3. @trondn @steveyen

    Added a tool to run a lot of migrations

    trondn authored steveyen committed
    Change-Id: I8acbaecc0728ef4a1211a00afc385951bb1f84dd
    Reviewed-on: http://review.northscale.com/1785
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  4. @dustin

    Use a proper libevent timeout handler.

    dustin authored
    Change-Id: I935459e91b2471ee982143be74d1b821dabc0f17
    Reviewed-on: http://review.northscale.com/1792
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Dustin Sallings <dustin@spy.net>
  5. @trondn @dustin

    Added missing options to the man page

    trondn authored dustin committed
    Change-Id: I317e128a92bedf585568066107ce100b9565edc8
    Reviewed-on: http://review.northscale.com/1663
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
  6. @dustin

    Using libevent for timeouts.

    dustin authored
    Change-Id: Ic6d6ca9e8152b2b64ca5725b3262ceefad9a3a0e
    Reviewed-on: http://review.northscale.com/1776
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Dustin Sallings <dustin@spy.net>
  7. @trondn

    Added new option -T

    trondn authored
    Change-Id: I41cc9fe9802fd69fbabf48d252aa8f10eb655ce5
    Reviewed-on: http://review.northscale.com/1774
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  8. @dustin @trondn

    Fix side-effect in assertion.

    dustin authored trondn committed
    Change-Id: I87cafd977a68c8ac263b5a305def9cadc6ce01d0
    Reviewed-on: http://review.northscale.com/1775
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
Commits on Aug 9, 2010
  1. @trondn @steveyen

    Add support for named tap streams

    trondn authored steveyen committed
    Change-Id: I877f1723049e9e5872eecafe6879f7ba2d40fd40
    Reviewed-on: http://review.northscale.com/1735
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. @trondn @steveyen

    print out message traffic with -vv

    trondn authored steveyen committed
    Change-Id: I591673e06f12d1da3d7921d55c59ce1bd426ca69
    Reviewed-on: http://review.northscale.com/1734
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  3. @trondn @steveyen

    Add support for -A (tap ack)

    trondn authored steveyen committed
    Change-Id: I821a5de4111df4302b3ed6dfd072ebc6b3352ab0
    Reviewed-on: http://review.northscale.com/1733
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  4. @trondn @steveyen

    Fix (possible) doublefree

    trondn authored steveyen committed
    Change-Id: I97d62ee2758cba3e8721599cda42fc7c9b92f696
    Reviewed-on: http://review.northscale.com/1699
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Aug 6, 2010
  1. @trondn @steveyen

    Remove port adaptor from this repository

    trondn authored steveyen committed
    Change-Id: I03864cdc2659c9a854a37c7d3d964202f9a75096
    Reviewed-on: http://review.northscale.com/1633
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. @trondn @steveyen

    add support for isasl

    trondn authored steveyen committed
    Change-Id: Ib14a2fb1be854b39e793751633d7816ffa384e71
    Reviewed-on: http://review.northscale.com/1632
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Aug 5, 2010
  1. @alk @seanlynch

    call event_del before closing socket. Bug 1932

    alk authored seanlynch committed
    If we don't do it, we'll get failure doing that later. Because we don't
    have that fd anymore, but libevent is not aware of that.
    
    Change-Id: I3cea77fef489d0a8eafd2c3d54aba3be41f352aa
    Reviewed-on: http://review.northscale.com/1627
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanl@literati.org>
Commits on Jul 31, 2010
  1. @trondn @steveyen

    Support win32

    trondn authored steveyen committed
    Change-Id: Ib25a95e58cbf7f0a8cbfd342621d17d94095dd09
    Reviewed-on: http://review.northscale.com/1345
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Jul 28, 2010
  1. @trondn @dustin

    Don't build port_adaptor on platforms without fork()

    trondn authored dustin committed
    Change-Id: Ic249b82b2b479b8f17501e838135d89b3d26c79f
    Reviewed-on: http://review.northscale.com/1344
    Tested-by: Dustin Sallings <dustin@spy.net>
    Reviewed-by: Dustin Sallings <dustin@spy.net>
  2. @trondn @dustin

    Added --without-sasl to build without support for SASL

    trondn authored dustin committed
    Change-Id: I52d2e482983757ad509eaa6f079fa7567065e636
    Reviewed-on: http://review.northscale.com/1343
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
  3. @trondn @dustin

    Added --without-docs to build without generating manpages

    trondn authored dustin committed
    Change-Id: I53343995320e21ce8b26952f54c49238d78fe40d
    Reviewed-on: http://review.northscale.com/1342
    Tested-by: Dustin Sallings <dustin@spy.net>
    Reviewed-by: Dustin Sallings <dustin@spy.net>
Commits on Jul 19, 2010
  1. @alk

    detect waitpid error condition in most standards-compliant way

    alk authored alk committed
    Trond pointed out that pid_t might be unsigned type, which would cause
    issues on previous version.
    
    Change-Id: Ifd4fd20fa24818516c864ffb5e613e9681a93596
    Reviewed-on: http://review.northscale.com/1239
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Jul 16, 2010
  1. @alk @seanlynch

    react on process death immediately

    alk authored seanlynch committed
    There was a race that if we get SIGCHLD before we go to sleep(), we
    would have to wait whole grace period. This patch uses alarm() to
    break out of waitpid() which allows to use waitpid() in blocking mode.
    
    Another race was if child dies before we establish signal handler for
    SIGCHLD. In this case we would wait till stdin is closed. We address
    that by setting signal actions before forking. This should not affect
    child as exec() resets signal actions to default in this case.
    
    Another race was if we get signal before doing fgets(). We address that
    by closing stdin from signal handler.
    
    Change-Id: Ifd6cd1846c97d2fb96cdfb95831919e4bc962a38
    Reviewed-on: http://review.northscale.com/1171
    Reviewed-by: Sean Lynch <seanl@literati.org>
    Tested-by: Sean Lynch <seanl@literati.org>
Commits on Jul 15, 2010
  1. @dustin @steveyen

    Capture, but ignore the return value of fgets.

    dustin authored steveyen committed
    Change-Id: I2d47f836a6953b8f743beffc4dc6682a8bf730c5
    Reviewed-on: http://review.northscale.com/1169
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. @dustin @steveyen

    Formally ignore the return value of fgets in port_adaptor.

    dustin authored steveyen committed
    Change-Id: I60fa7f5e40f746ef9e311c33f1dc622942a4dbbf
    Reviewed-on: http://review.northscale.com/1168
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  3. @seanlynch @steveyen

    Add port_adaptor.

    seanlynch authored steveyen committed
    Change-Id: Iab19d0a73445dfb6b84dcc737480a4a0ba92d443
    Reviewed-on: http://review.northscale.com/1160
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Jul 14, 2010
  1. @dustin @seanlynch

    Revert "Exit if stdin closes." - bug 1704

    dustin authored seanlynch committed
    This will be handled by an external process (per bug 1073)
    
    This reverts commit 667de8c.
    
    Change-Id: If2d5bbc3d6c27e1920b3a3f76599128640f35987
    Reviewed-on: http://review.northscale.com/1145
    Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sean Lynch <seanl@literati.org>
    Reviewed-by: Sean Lynch <seanl@literati.org>
Commits on Jul 2, 2010
  1. @trondn @steveyen

    Bug 1661 - close the tap streams when we're done sending all data

    trondn authored steveyen committed
    Change-Id: If57115605c20c9b59fe8899de71957d417c8f0c0
    Reviewed-on: http://review.northscale.com/1006
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Jun 23, 2010
  1. @ingenthr @steveyen

    License headers addition.

    ingenthr authored steveyen committed
    Change-Id: Ia5e3085c4ee3c4249e7020e366e125d7bb50f202
    Reviewed-on: http://review.northscale.com:8080/859
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. @ingenthr @dustin

    Added LICENSE and headers.

    ingenthr authored dustin committed
    Change-Id: Ic784910f3be518c38a7da444ddb89541326a9c00
    Reviewed-on: http://review.northscale.com:8080/858
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
Commits on Jun 21, 2010
  1. @dustin @seanlynch

    Exit if stdin closes.

    dustin authored seanlynch committed
    Change-Id: Idc1d601e30a3685dfa702bf1240277eb049cdc4c
    Reviewed-on: http://review.northscale.com:8080/782
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Sean Lynch <seanl@literati.org>
    Reviewed-by: Sean Lynch <seanl@literati.org>
Something went wrong with that request. Please try again.