Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 19, 2011
  1. @alk @steveyen

    DONT_START_COUCH for cluster_run

    alk authored steveyen committed
    Change-Id: Ia4c2c9978a589e693995358111c078293e3393a8
    Reviewed-on: http://review.membase.org/6369
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Apr 13, 2011
  1. @apage43

    start on primary address by default

    Dale Harvey authored apage43 committed
    Change-Id: If0e25a7be7c55267cb92613e36826c4a6cd5aa4a
    Reviewed-on: http://review.membase.org/5353
    Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
    Tested-by: Aaron Miller <apage43@ninjawhale.com>
Commits on Apr 12, 2011
  1. @alk

    allow independent cluster_runs in parallel

    Dale Harvey authored alk committed
    Change-Id: Ibe37bff5c0333ab3263f5991477469a4a1c946b5
    Reviewed-on: http://review.membase.org/5321
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Apr 7, 2011
  1. @alk

    implemented make install with new directory layout

    alk authored alk committed
    We now have very simple configure script that accepts prefix. And we
    expect membase binaries (memcached, moxi) in that prefix.
    
    We also install ns_server into that prefix. Directory layout is
    similar to couchdb. .beams go to
    $(prefix)/lib/ns_server/erlang/lib/ns_server. Data goes to
    $(prefix)/var/lib/membase. Static config files (like "init.sql") go to
    $(prefix)/etc/membase
    
    Change-Id: I656bf3bbbe09494e1fab96b6d33293b2d91a22ca
    Reviewed-on: http://review.membase.org/5268
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @alk

    moved dev-time scripts into scripts/

    alk authored alk committed
    Change-Id: I6ceeb4d43dada4a96d5dc63d97855dec680b9ea7
    Reviewed-on: http://review.membase.org/5267
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  3. @alk

    [cluster_run] wait childs death

    alk authored alk committed
    So that we can reliably start cluster_run again knowing that ports are
    really free.
    
    Change-Id: I44a0d15e64b0f01626adc65fd0396c99fb7e48d8
    Reviewed-on: http://review.membase.org/5253
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Mar 23, 2011
  1. option to stop ns_server from starting

    Dale Harvey authored Sean Lynch committed
    Change-Id: Ia839c8392dce7e4f1c5867aaf65cb27c20667674
    Reviewed-on: http://review.membase.org/4961
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
    Tested-by: Sean Lynch <seanlynch5@gmail.com>
Commits on Mar 11, 2011
  1. @alk

    mention --static-cookie in cluster_run usage()

    alk authored alk committed
    Change-Id: I5a7142f2e03cb17286f3e957f2134aab528a9afc
    Reviewed-on: http://review.membase.org/4869
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @alk

    add an option to not rename cookies

    Dale Harvey authored alk committed
    Change-Id: Ib470bc89140992ec853ecf4aa086b107fb4c4f34
    Reviewed-on: http://review.membase.org/4859
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Mar 8, 2011
  1. @alk

    don't fail if couch is not present

    alk authored Dale Harvey committed
    Change-Id: Ic6a9c14faf9ebce104fdce7353ea335bd048efcd
    Reviewed-on: http://review.membase.org/4812
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  2. @alk

    use couchdb symlink in lib

    alk authored Dale Harvey committed
    Change-Id: Ide28d148c63a80ffe6f8cb7002a972495570d441
    Reviewed-on: http://review.membase.org/4811
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
Commits on Mar 7, 2011
  1. @apage43 @alk

    CouchDB Built In.

    apage43 authored alk committed
    Removed mochiweb to use mochiweb from couchdb (it's more picky);
    Couch starts up with ns_server.
    
    Change-Id: I9a5f24442ee76e1e8de90c521978481f495c9abf
    Reviewed-on: http://review.membase.org/4789
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 16, 2011
  1. @alk

    don't disable stderr logging for cluster_run

    alk authored Sean Lynch committed
    Change-Id: I1340749c17e717aee6b1e3f30c9153793dc1b590
    Reviewed-on: http://review.membase.org/4546
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
Commits on Feb 15, 2011
  1. @alk

    [cluster_run] always rename cluster nodes by default

    alk authored Sean Lynch committed
    Change-Id: I1289f21a3e7d2280888ae11075eee2ff7b145bd1
    Reviewed-on: http://review.membase.org/4542
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
Commits on Feb 11, 2011
  1. @alk

    [cluster_run] spawn epmd if it's not running

    alk authored Sean Lynch committed
    Change-Id: Ibc85748a88206ef70a859c20cae0d1f9510c716a
    Reviewed-on: http://review.membase.org/4537
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  2. @alk

    [cluster_run] restore terminal attrs in atexit handler

    alk authored Sean Lynch committed
    Otherwise, it's possible that 'damaged' terminal settings from first
    erlang node are preserved.
    
    Change-Id: I96b6581ac47890919ad53751bf169ddba41a6bb6
    Reviewed-on: http://review.membase.org/4536
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  3. @seanlynch @alk

    Support forced renaming with cluster_run

    seanlynch authored alk committed
    Change-Id: Ied65fea6bebaba767053a694cbef7a41ec5832f4
    Reviewed-on: http://review.membase.org/4521
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 4, 2011
  1. @seanlynch @alk

    Don't duplicate args

    seanlynch authored alk committed
    Change-Id: I61890c9e96eda61c9fa8416a7443d9dd7c82dc6a
    Reviewed-on: http://review.membase.org/4426
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 2, 2011
  1. @alk

    [cluster_run] use atexit to kill childs

    alk authored Sean Lynch committed
    Change-Id: I42348801c9e3846d2c88bdd67d47f349548b05e2
    Reviewed-on: http://review.membase.org/4393
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  2. @alk

    [cluster_run] don't screw up when stdin is not terminal

    alk authored Sean Lynch committed
    Change-Id: I278bb92cb5fb35639264f99fadfb687c9821c617
    Reviewed-on: http://review.membase.org/4381
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  3. @alk

    make sure erlang VMs get SIGHUP when cluster_run script dies

    alk authored Sean Lynch committed
    This is same approach as was used by ruby script. We're creating
    process that's member of our process group and that's stopped. When
    our process group become orphaned, i.e. either script parent or script
    itself dies, the whole group is sent SIGCONT & SIGHUP.
    
    This is according to POSIX. See
    http://pubs.opengroup.org/onlinepubs/009695399/functions/exit.html
    
    This makes script more robust by 'handling' SIGKILL and other
    unexpected causes of script death.
    
    Change-Id: Ifad2b4f9db49d806ca7c916b75a14f863c63d843
    Reviewed-on: http://review.membase.org/4380
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
Commits on Jan 29, 2011
  1. @alk @steveyen

    [cluster_run] always kill erlangs and start shell on first

    alk authored steveyen committed
    Change-Id: If9f955d35b2d4fc8aaef5fb180adf06743570ba2
    Reviewed-on: http://review.membase.org/4375
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. @seanlynch @steveyen

    Replace gen_cluster_scripts.rb with cluster_run.

    seanlynch authored steveyen committed
    cluster_run is written in Python and uses the subprocess module to
    start whatever number of nodes it's given on the command line without
    needing to generate any config files.
    
    Change-Id: Ic2c479d3c62da354b6e815a0d1467b4e9ad3fd9a
    Reviewed-on: http://review.membase.org/4365
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Something went wrong with that request. Please try again.