Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 2, 2012
  1. @alk @aartamonau

    don't try to force local ddoc replication on janitor pass.MB-4825

    alk authored aartamonau committed
    The original idea was to ping ddoc replication srv that some vbuckets
    may have been created. This was when we replicated ddocs to each
    vbucket database.
    
    It was broken even from day 0. Because it only touches local ddoc
    replication srv. Even if this node doesn't run bucket yet/anymore.
    
    Good thing is that it's not needed anymore. Because we don't replicate
    ddocs to vbucket databases. So ddoc_replication_srv doesn't need any
    notifications from janitor.
    
    Change-Id: I759e457c984f94384eecfc673a7a0921111de99f
    Reviewed-on: http://review.couchbase.org/13752
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Commits on Feb 27, 2012
  1. @aartamonau @alk

    MB-4839 Don't ignore errors in failover safeness multicall.

    aartamonau authored alk committed
    Change-Id: I323fa902ce1f08d8a11a56e32bb5e89858346785
    Reviewed-on: http://review.couchbase.org/13637
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @alk @aartamonau

    implemented REST API for max_parallel_indexers setting.MB-4831

    alk authored aartamonau committed
    GETting max parallell indexers URL (taken from /pools reply json path
    $.settings.maxParallelIndexers) will return json with field
    globalValue reflecting global setting.
    
    Current implementation will also return per-node value in
    corresponding nodes field.
    
    POSTing urlencoded globalValue parameter into same URL will change
    global value. Invalid or missing globalValue will result in 400 reply.
    
    Change-Id: I3c5c99a4c6dce6e410cdd8d94ae56db7f257d38b
    Reviewed-on: http://review.couchbase.org/13613
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  3. @alk @aartamonau

    sync max_parallel_indexers from ns_config to couch_config

    alk authored aartamonau committed
    Change-Id: Ie981881405760f1f09ba2e9d5fc4a523d9e24cb4
    Reviewed-on: http://review.couchbase.org/13612
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Commits on Feb 25, 2012
  1. @alk @aartamonau

    subtract grace period when configuring autofailover.MB-4830

    alk authored aartamonau committed
    Autofailover needs 2 extra hearbeat intervals during which it
    double-checks that we have only one down node. If it is we
    auto-failover it.
    
    This 10 seconds needs to be subtracted. So that UI setting of 30
    seconds means ~30 seconds to autofailover.
    
    Change-Id: If241c2cb64bd8b757419200c475c8d0ff75690cf
    Reviewed-on: http://review.couchbase.org/13603
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  2. @alk @aartamonau

    fixed UI error when refreshing sample buckets settings fails

    alk authored aartamonau committed
    $.get doesn't handle network problems IOCenter.performGet does. So we
    use it.
    
    It's still not proper error handling because entire settings section
    lacks it, but at least it's not hard error anymore.
    
    Change-Id: Ic07ccadcda8476a6ca09761c7c62bde95a7ab5c1
    Reviewed-on: http://review.couchbase.org/13599
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  3. @BigBlueHat @alk

    fixed CSS hiding rebalance_empty notice

    BigBlueHat authored alk committed
    Also did some general CSS cleanup in this area
    per Alk's request.
    
    Change-Id: I7c10a2a891a876cd5c25335c040206e5be3d3dc0
    Reviewed-on: http://review.couchbase.org/13598
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  4. @BigBlueHat @alk

    fixed bucket_name/node_name border overlap issue

    BigBlueHat authored alk committed
    Before/After screenshots:
    http://www.evernote.com/shard/s61/sh/1e633fff-3280-4415-9511-597a17de68a4/fc2a098eb6d6c6cc045337ea67fdc444
    
    Change-Id: Iaaa2f55b7bcdbd29d28b7f407e50412e7fc92820
    Reviewed-on: http://review.couchbase.org/13597
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 24, 2012
  1. @aartamonau @alk

    [bp] Consume exit message in ns_pubsub:unsubscribe.

    aartamonau authored alk committed
    Originally reviewed on http://review.couchbase.org/13584
    
    Change-Id: Ie3b81157cc1f74cc189dfd8c6548a6efa0223a08
    Reviewed-on: http://review.couchbase.org/13593
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  2. @aartamonau @alk

    [bp] Link parent instead of monitoring in ns_pubsub.

    aartamonau authored alk committed
    This ensures that if handler dies for some reason then parent will die
    as well.
    
    Originally reviewed on http://review.couchbase.org/13583
    
    Change-Id: Ide8bdf300c3846f5c7128c2f955f658ad820bc5b
    Reviewed-on: http://review.couchbase.org/13592
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Commits on Feb 22, 2012
  1. @fdmanana

    Make max_parallel_indexers explicit in capi.ini

    fdmanana authored fdmanana committed
    Change-Id: I14ee6965b50bdfeecf9a8547779cbb5afda787ba
    Reviewed-on: http://review.couchbase.org/13488
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Commits on Feb 21, 2012
  1. @aartamonau @alk

    Send more meaningful error if node lacks active vbuckets.

    aartamonau authored alk committed
    Related to MB-4804.
    
    Change-Id: I15e2437a38fa04a69f9f1864654fbd04ca721734
    Reviewed-on: http://review.couchbase.org/13407
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @aartamonau @alk

    Don't introduce quadratic behavior when building vbuckets dict.

    aartamonau authored alk committed
    Change-Id: Idea39b269b3a389727fad15a340b56fb217151f5
    Reviewed-on: http://review.couchbase.org/13406
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  3. @aartamonau @alk

    Handle development views identically regardless of http method.

    aartamonau authored alk committed
    Change-Id: I01a12c56cc525b0b1589be33afaf00bf2a8b1c55
    Reviewed-on: http://review.couchbase.org/13405
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 18, 2012
  1. @BigBlueHat @alk

    removing underscores from startkey/endkey fields. MB-4781

    BigBlueHat authored alk committed
    Change-Id: Icc44a3e635d2a521fdce36350099618bb534e784
    Reviewed-on: http://review.couchbase.org/13349
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 15, 2012
  1. @alk @aartamonau

    only care about main indexer updates. MB-4677

    alk authored aartamonau committed
    Change-Id: I932fdb63296d135584e49ab71b21022828974acb
    Reviewed-on: http://review.couchbase.org/13249
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  2. @aartamonau

    MB-4802 Parse versions of the 2.0.0dp4r form.

    aartamonau authored
    Change-Id: I11a09ea94f3ddb8947440fed24ebbb62d3f57d11
    Reviewed-on: http://review.couchbase.org/13246
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
  3. @aartamonau @alk

    Fix comment for node_info() function.

    aartamonau authored alk committed
    Change-Id: I2cab44d2d29261133091ee85302ead3aa474dbd9
    Reviewed-on: http://review.couchbase.org/13244
    Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Commits on Feb 14, 2012
  1. @alk

    implemented replica index checkbox

    alk authored alk committed
    Change-Id: Ia5e6cb62f2395470202c2b0cf0d9da5aa8001e5a
    Reviewed-on: http://review.couchbase.org/13213
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  2. @alk

    added REST API for replica index

    alk authored alk committed
    Default is replica index _on_. This makes sure for buckets
    converted/rebalance-upgraded from 1.8 we have this useful feature.
    
    Also old CLI tools will not add replicaIndex parameter and that is
    also interpreted as replica index on.
    
    Change-Id: Ibd13e6ce43f58e40af04ff2b7383ee28cffa4806
    Reviewed-on: http://review.couchbase.org/13212
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  3. @alk

    unbreak temporary disabling of hidden fields in buckets.js

    alk authored alk committed
    Refactoring in cb7a258
    "jQuery-fication of setBoolAttribute for simplicity and chaining"
    quite obviously broke things by removing initialization of
    nonPersistent variable. So cleanup part was never invoked after that
    commit was applied.
    
    In order to avoid issues like that in future I've renamed variable to
    hopefully better name and added comments about what and why we're
    doing here.
    
    Change-Id: I6d0b2121c62f4298f56a52911953330743aa0957
    Reviewed-on: http://review.couchbase.org/13211
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Commits on Feb 10, 2012
  1. @alk

    use proc_lib to spawn compaction daemon's compaction loop process

    alk authored Dale Harvey committed
    So that when this guy crashes SASL prints nice error report.
    
    Change-Id: Ifd2b4ea5bb48f7481229ebda87e98fda18dfc4db
    Reviewed-on: http://review.couchbase.org/13154
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  2. @alk

    made 2.0 use couchbase.plt

    alk authored alk committed
    So that ns_server.plt does not need to be replaced when switching
    to/from 1.8 work.
    
    And also because couchbase.plt is about _entire couchbase erlang
    stack_, not just ns_server anymore.
    
    Change-Id: Ibd8b10325a000f7af2104edbb2b2fa37262a7ebb
    Reviewed-on: http://review.couchbase.org/13057
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Commits on Feb 8, 2012
  1. @alk

    use proc_lib in order to correctly start master_db_watcher

    alk authored alk committed
    Previously it was possible for capi_set_view_manager to get stuck if
    master_db_watcher died before sending us startup confirmation. That's
    because we only consume startup ack from it and trap exits, but ignore
    EXIT signal from it.
    
    proc_lib handles that for us and more. Thus it's good idea to us it's
    sync startup facility rather than our own.
    
    Change-Id: Ibaedeff6542fb7f9ec3704b89e94304c9f7a2528
    Reviewed-on: http://review.couchbase.org/13102
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Commits on Feb 7, 2012
  1. @alk

    Merge remote-tracking branch 'origin/branch-18' into merge

    alk authored
    * origin/branch-18:
      Corrected label for vb_active_queue_drain
    
    Change-Id: I9bd4725647a850a8e4c76e994bbdf8a7c79d63e0
  2. @daleharvey @alk

    Corrected label for vb_active_queue_drain

    daleharvey authored alk committed
    Change-Id: I1ba7cef76e526961efb76d008663eee9267cdb74
    Reviewed-on: http://review.couchbase.org/13054
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
  3. @alk

    delete /master db first when deleting bucket.

    alk authored Dale Harvey committed
    So that set_views doesn't have to handle seemingly dead-lock prone
    deletion of partitions followed by deletion of master database (and
    thus design docs).
    
    Works around apparent deadlock in MB-4760.
    
    I've also changed call to binary:part/2 to binary:part/3 because the
    later doesn't have to allocate temporary tuple.
    
    Change-Id: Ief44e5a10f364dc4046ecd9939e948d80337c191
    Reviewed-on: http://review.couchbase.org/13017
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  4. @alk

    return 503 when trying to create bucket during rebalance

    alk authored Dale Harvey committed
    Because it's a temporary condition thus 400 is not appropriate.
    
    Change-Id: I900458af3107c5fccd66aa8732b6c0a05ee641ab
    Reviewed-on: http://review.couchbase.org/13016
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  5. @alk

    handle rebalance_running return from bucket deletion call

    alk authored Dale Harvey committed
    case error seen in MB-4760. But not real cause of MB-4760's problems.
    
    Change-Id: I7e26e4710840147cf0611c187b2809b61f09ff92
    Reviewed-on: http://review.couchbase.org/13015
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  6. @alk

    added typespec and description for ns_orchestrator:delete_bucket

    alk authored Dale Harvey committed
    Change-Id: I5e779553d03ca0b0801a0edb0bd2a30790907552
    Reviewed-on: http://review.couchbase.org/13014
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  7. @alk

    clarified return value of ns_bucket:delete_bucket/1

    alk authored Dale Harvey committed
    Change-Id: I59efe83b6cc05c0d57b96ad889fc0e451b938c59
    Reviewed-on: http://review.couchbase.org/13013
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
  8. @alk

    send moxi restart call to live nodes after bucket deletion

    alk authored Dale Harvey committed
    Not all nodes
    
    Change-Id: Ib99d34444a3eef60c4ec67d484c33d4bb3dd9df7
    Reviewed-on: http://review.couchbase.org/13012
    Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
    Tested-by: Dale Harvey <daleharvey@arandomurl.com>
    Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
Commits on Feb 3, 2012
  1. @alk

    Merge remote-tracking branch 'origin/branch-18'

    alk authored
    * origin/branch-18:
      Don't use ruby to build the array of images..
      Require bash when we use bash syntax...
    
    Change-Id: Ie34f60c807a26c068ebf75a31111482b8cb19da9
Commits on Feb 2, 2012
  1. @trondn

    Don't use ruby to build the array of images..

    trondn authored
    Backported script from the 2.0 branch
    
    Change-Id: Icc670afcc0b6fc5d3b7b4e271c4fa05314d2671a
    Reviewed-on: http://review.couchbase.org/12924
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
  2. @trondn

    Require bash when we use bash syntax...

    trondn authored
    Change-Id: I25b82c1f04946f67f2835d448046f1daedae47fb
    Reviewed-on: http://review.couchbase.org/12921
    Tested-by: Trond Norbye <trond.norbye@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Something went wrong with that request. Please try again.