Permalink
Commits on May 5, 2011
  1. limit rate of vbucketmigrator restarts. MB-3720

    Aliaksey Kandratsenka authored and steveyen committed May 4, 2011
    So that we don't reach max restart frequency and don't delete and
    re-create bucket.
    
    Change-Id: Ie440445b1f048183070b91593cc4427912de9878
    Reviewed-on: http://review.membase.org/5916
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Mar 30, 2011
  1. return config tuple thats compatible with 1.6.5. MB-3554

    Aliaksey Kandratsenka authored and steveyen committed Mar 30, 2011
    In 1.6.5.1 we made config saving async, but this also changed format
    of config record. We're passing this record around as part of config
    replication. ns_config_rep:do_pull calls ns_config:config_dynamic on
    result of remote ns_config:get and this fails if config records have
    different versions.
    
    This change makes sure that we always return "old" version of config
    tuple. Rest of the change ensures that we're handling this reduced
    config tuple correctly in rest of code.
    
    Change-Id: Ief9b0c85e1ecc5e905ba50ae5e6d559b1c76b793
    Reviewed-on: http://review.membase.org/5140
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Mar 25, 2011
  1. Corrected dirname finding.

    dustin authored and vmx committed Mar 25, 2011
    I was finding the basename, not the dirname.
    
    http://apenwarr.ca/log/?m=201102#28
    
    Change-Id: I9d8137cafcde90ed07b56d95e4eebf2163ea714d
    Reviewed-on: http://review.membase.org/5109
    Tested-by: Volker Mische <volker.mische@gmail.com>
    Reviewed-by: Volker Mische <volker.mische@gmail.com>
Commits on Mar 23, 2011
  1. Allow starting in directories containing spaces.

    dustin authored and alk committed Mar 23, 2011
    Change-Id: I73171f75a04d67fbe1b6dcc96883ceac8cea82f8
    Reviewed-on: http://review.membase.org/5074
    Tested-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. don't suppress stderr logging in start_shell either

    Aliaksey Kandratsenka authored and dustin committed Feb 15, 2011
    Change-Id: Ic9010efb24cddb25ecb6aadd6b19d254775341a8
    Orig-Change-Id: Ib962bbff20ca1103f887b32e5d8bcc83e3af54c2
    Orig-Reviewed-on: http://review.membase.org/4562
    Orig-Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Orig-Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
    Reviewed-on: http://review.membase.org/5046
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
  3. don't disable stderr logging for cluster_run

    Aliaksey Kandratsenka authored and dustin committed Feb 11, 2011
    Change-Id: I935821f2d7f402c7322bcbdd4b1dfd3b225fa132
    Orig-Change-Id: I1340749c17e717aee6b1e3f30c9153793dc1b590
    Orig-Reviewed-on: http://review.membase.org/4546
    Orig-Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Orig-Reviewed-by: Benjamin Young <benjamin@couchbase.com>
    Orig-Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
    Reviewed-on: http://review.membase.org/5045
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
Commits on Mar 21, 2011
  1. made hot_keys_keeper handle not-ready buckets

    Aliaksey Kandratsenka authored and steveyen committed Mar 21, 2011
    This doesn't need forward-porting to master, because it already has
    similar change.
    
    Change-Id: Icc3586a29119ec01d6441675f34b4cd04f3e5f83
    Reviewed-on: http://review.membase.org/5016
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. backported ns_bucket_sup fix for. MB-3488

    Aliaksey Kandratsenka authored and steveyen committed Mar 21, 2011
    Change-Id: Icd40f39b1daa7fec710c2cfa2fd545c4f0d36d45
    Reviewed-on: http://review.membase.org/5015
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. unbreak IE9 [refresh]

    Aliaksey Kandratsenka authored and steveyen committed Mar 21, 2011
    Change-Id: I01edbe1a66a5c031d3a2b0d669798d831aeafbd8
    Reviewed-on: http://review.membase.org/5008
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Mar 18, 2011
  1. Membase, Inc. to Couchbase, Inc. [backport]

    BigBlueHat authored and alk committed Feb 24, 2011
    .com URL changes;
    community URL's still forthcoming
    
    Change-Id: I7745c0bb394089019b1826fae7344b392f0f604f
    Reviewed-on: http://review.membase.org/4709
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-on: http://review.membase.org/4759
    Reviewed-on: http://review.membase.org/4979
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. prevent setting up non-writable data path. MB-3457 [backport]

    Aliaksey Kandratsenka authored and alk committed Feb 24, 2011
    Change-Id: I1802e4116705410bebfadc9f45c7d5da4f102363
    Reviewed-on: http://review.membase.org/4719
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
    Reviewed-on: http://review.membase.org/4757
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-on: http://review.membase.org/4977
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Mar 17, 2011
  1. run janitor on new bucket as soon as possible. MB-3437 [refresh]

    Aliaksey Kandratsenka authored and steveyen committed Feb 17, 2011
    This is backport of bbd0826
    
    Change-Id: I02eb6e35c821957359682123924cc564b06220de
    Reviewed-on: http://review.membase.org/4975
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. use new sanified vbucket map when setting up replicas. MB-3442 [refresh]

    Aliaksey Kandratsenka authored and steveyen committed Feb 22, 2011
    This seems to be main issue of MB-3442
    
    This is backport of 6dd2b16 (refresh1
    branch) which is backport of 12145af
    (master branch)
    
    Change-Id: I94707bf1247cc6eb9c88c3de654ada0ebb55ca61
    Reviewed-on: http://review.membase.org/4973
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Feb 25, 2011
  1. Add destination node to the name of the TAP stream.

    Sean Lynch authored and alk committed Feb 25, 2011
    Change-Id: I3d44798d804845009866eaab89c2d6564b2cb206
    Reviewed-on: http://review.membase.org/4712
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 24, 2011
  1. Increase vb transfer timeout to 5 minutes.

    dustin authored and steveyen committed Feb 24, 2011
    We've seen 60s timeout in what is otherwise a fairly fast
    environment.  Increasing the timeout stopped the rebalance from
    failing.
    
    Note that we don't resume transfers and don't retry, so going beyond
    the current name timeout is not an issue.
    
    Change-Id: I88e2931c202f8b548bb3e486c2ebc03b30d06d39
    Reviewed-on: http://review.membase.org/4707
    Tested-by: Steve Yen <steve.yen@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  2. Generate a unique name for each vbucketmigrator command.

    Sean Lynch authored and steveyen committed Feb 24, 2011
    This needs to be globally unique within the cluster because the
    vbucketmigrator arguments are generated on whatever node is running
    the orchestrator, and we don't want to accidentally reuse them if the
    orchestrator moves.
    
    Change-Id: I02267e25769cf991fde5ad1e68c146572061ac23
    Reviewed-on: http://review.membase.org/4702
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
  3. Set tap_keepalive to 5 minutes in membase buckets.

    Sean Lynch authored and steveyen committed Feb 24, 2011
    This allows us to re-use TAP queues if we name them.
    
    Change-Id: Ia994ec6c47c2b32ec02653946abec921553125a0
    Reviewed-on: http://review.membase.org/4701
    Reviewed-by: Dustin Sallings <dustin@spy.net>
    Tested-by: Dustin Sallings <dustin@spy.net>
Commits on Feb 22, 2011
  1. Define timeout for vbucket deletion command.

    dustin authored and steveyen committed Feb 22, 2011
    We have a few cases where the timeout is actually occuring in a
    production environment where the command would otherwise succeed, but
    does so too slowly here.  This code adjusts the timeout up to a larger
    value so we might complete instead of just timing out.
    
    The code that calls this actually specifies a timeout (~30s), but it's
    not included down here.
    
    Timeout (as seen in a production log):
    
        ** Generic server <5596.169.0> terminating
        ** Last message in was {delete_vbucket,857}
        ** When Server state == {state,"default",#Port<5596.2633>}
        ** Reason for termination ==
        ** {{badmatch,{error,timeout}},
            [{mc_client_binary,cmd_binary_vocal_recv,5},
             {mc_client_binary,delete_vbucket,2},
             {ns_memcached,handle_call,3},
             {gen_server,handle_msg,5},
             {proc_lib,init_p_do_apply,3}]}
    
    Change-Id: I945a4670e0f5ab135f710a083068d7953e8ac137
Commits on Feb 14, 2011
  1. for 1.6.5.2r

    steveyen committed Feb 14, 2011
Commits on Feb 8, 2011
  1. provide default value for db_shards bucket parameter. MB-3420

    Aliaksey Kandratsenka authored and steveyen committed Feb 7, 2011
    Upgrades from old configs where this parameter is missing will not
    work otherwise.
    
    Change-Id: I9b0d896ba1ed9bd6990a6f95c25feb6140022632
Commits on Feb 7, 2011
Commits on Jan 26, 2011
  1. save config safely

    Aliaksey Kandratsenka authored and alk committed Jan 26, 2011
    Recommended file overwrite method is write to tmp file, fsync &
    rename. Which is what we're doing here.
    
    Change-Id: Iefff16d802952ce6ffb677097c9894c253f39a43
    Reviewed-on: http://review.membase.org/4346
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. moved tempfile/2 into ns_config_default

    Aliaksey Kandratsenka authored and alk committed Jan 26, 2011
    Change-Id: I4866cbb2f0ebfb01570092dff3cdf2a5664c2d54
    Reviewed-on: http://review.membase.org/4345
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  3. persist ns_config asynchronously. MB-3338

    Aliaksey Kandratsenka Sean Lynch
    Aliaksey Kandratsenka authored and Sean Lynch committed Jan 26, 2011
    Change-Id: Ib1b900b4703e298328bb991ab7f33a3fe20432a6
    Reviewed-on: http://review.membase.org/4341
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  4. export diag_handler:grab_process_info/1

    Aliaksey Kandratsenka authored and steveyen committed Jan 26, 2011
    this is useful for debugging
    
    Change-Id: Ie301717e7a57e33bee24077066b584ef4d5a1efa
    Reviewed-on: http://review.membase.org/4340
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  5. start sasl application for tests for better visibility

    Aliaksey Kandratsenka authored and steveyen committed Jan 26, 2011
    Change-Id: I533c3f6326e53a6ae6f3318b70b50ecb6d0f7b6c
    Reviewed-on: http://review.membase.org/4339
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  6. killed remains of ns_config_replica

    Aliaksey Kandratsenka authored and steveyen committed Jan 25, 2011
    Change-Id: If066461e201b6b73e37c16d7286bcd055d20b82c
    Reviewed-on: http://review.membase.org/4338
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  7. use getenv to override hardcoded membase bucket params

    Aliaksey Kandratsenka authored and steveyen committed Jan 25, 2011
    Change-Id: I31a6a9cf93e7e2002c8b32fae2bfad6a81f4edcd
    Reviewed-on: http://review.membase.org/4337
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  8. made membase's init.sql match wallace's

    Aliaksey Kandratsenka authored and steveyen committed Jan 25, 2011
    Change-Id: I0b44307392f052a541fd69df15f6edb55580f4e7
    Reviewed-on: http://review.membase.org/4336
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
Commits on Jan 25, 2011
  1. minor .gitignore update

    Benjamin Young authored and steveyen committed Jan 25, 2011
    Change-Id: I11c3596b079ad57967780b85446f3b1c9c490ec1
    Reviewed-on: http://review.membase.org/4331
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
  2. copyright update

    steveyen committed Jan 25, 2011
    Change-Id: I6df72d1c5605081c0ab695d25c5768c31780f020
    Reviewed-on: http://review.membase.org/4328
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Steve Yen <steve.yen@gmail.com>
Commits on Jan 24, 2011
  1. prefer newer values when resolving ns_config conflicts.MB-3365

    Aliaksey Kandratsenka Sean Lynch
    Aliaksey Kandratsenka authored and Sean Lynch committed Jan 24, 2011
    Change-Id: I9b096dd74c5f4bd9be615ba0a9aa5e745bcdaa35
    Reviewed-on: http://review.membase.org/4320
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
Commits on Jan 21, 2011
  1. Allow user to hit enter do submit in setup wizard. MB-2485

    Aliaksey Kandratsenka Sean Lynch
    Aliaksey Kandratsenka authored and Sean Lynch committed Jan 20, 2011
    CSS/HTML changes by: Eugene Matveyev <evgeniy.m@monterosa.co.uk>
    
    Change-Id: I88c6d6b2bd7e345b4dfd21b61983135c7c6ffa73
    Reviewed-on: http://review.membase.org/4304
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Sean Lynch <seanlynch5@gmail.com>
  2. Work around log record length limit for timeout diag. MB-3338

    Aliaksey Kandratsenka authored and steveyen committed Jan 21, 2011
    Previous implementation routinely caused truncated log records without
    information we're looking for.
    
    Change-Id: Ie882f989cf3b072aad3d4c6d423889efaee0b1a3
    Reviewed-on: http://review.membase.org/4306
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
  3. don't confuse users watching memcached bucket type stats. MB-1883

    Aliaksey Kandratsenka authored and alk committed Jan 21, 2011
    Change-Id: I72b40bf93d5d1170d087e17216608dd7e8cbdb75
    Reviewed-on: http://review.membase.org/4305
    Reviewed-by: Steve Yen <steve.yen@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>