MB-8242: fix outbound XDCR lazy computed stats

Change-Id: If444c0369b832972b1f809f001e7126a577ac712
Reviewed-on: http://review.couchbase.org/26247
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-100: replaced orddict:find with lists:keysearch
  MB-8199 Add entry about request throttling to CHANGES file.
  MB-100 Add a list of commands cbcollect_info depends on.
  bp:MB-8242: fix outbound XDCR lazy computed stats
  MB-8199 Prevent request_throttler from crash if it restarts.
  MB-8199 Allow keeping request throttling settings intact.
  MB-100 Update internalSettings in doc/api.txt.
  MB-100: use proc_lib:spawn_link
  MB-100 Log couchdb messages only to the dedicated file.
  MB-100 Grab babysitter processes as part of diag.
  MB-8199 Throttle REST and CAPI requests.
  MB-8013 Show details about ingoing transfers during rebalance.
  MB-8013 Don't update stats when we know nothing new.
  MB-8263 Start ns_bucket_{worker,sup} in a dedicated supervisor.

merge is trivial

Change-Id: Ie876a97bd92c7e0615f2ecc4ac7f9d0e4f0e353b
MB-8241: Make ns_server work with couch_set_view refactoring

This commit needs http://review.couchbase.org/26127 in
order to work.

Change-Id: Ie7074f8cad6f997cc4c9a85ec1d19fa0175e349b
Reviewed-on: http://review.couchbase.org/26159
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-8309: bump ebucketmigrator's TERMINATE_TIMEOUT
  MB-100:cbcollect_info: correctly compute installation root

merge is trivial

Change-Id: Id446b8c50124cc5a450b8379e326ed5f2d2e9eec
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-8009: update small logo

this merge is trivial

Change-Id: I9797cdffb8227938fffd2ec56ae3191dd63ee68f
MB-8322: Use couch_set_view for index deletion

Use the delete_index_dir/2 from couch_set_view to delete
indexes instead of a custom implementation.

For this change the corresponding couchdb change needs
to land first:
http://review.couchbase.org/26380

Change-Id: Ic013db5c18b05461e8d86d334bbca4a5c3c9b4d4
Reviewed-on: http://review.couchbase.org/26382
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-100 Lower the severity of tap_estimate related error messages.
  MB-100 Include stats in per node diagnostics.
  MB-8325 Send processes' stats with heartbeat.
  MB-8325 Adapt system_stats_collector to latest portsigar changes.
  MB-100: added dev docs for ns_server's usage of checkpoints

trivial merge

Change-Id: Ia1a28a4a9afe35bede5af1078513b2ede0715cc2
MB-8295: Make it work with the Set View ETS refactoring

This commit needs get merged at the same time as:
http://review.couchbase.org/26344

Change-Id: Icf4f629c3247ab824f4e3f56227998ae8d050bd3
Reviewed-on: http://review.couchbase.org/26383
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8295: change according to couchdb refactoring

This commit needs to get merged at the same time as:
http://review.couchbase.org/26386

Change-Id: I8d279f07a0de93bf0dd8eec7c8646c15b4a3d70f
Reviewed-on: http://review.couchbase.org/26384
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'couchbase/2.0.2'

* couchbase/2.0.2:
  MB-100 Don't add version to ns_server install directory.
  MB-8328 Don't set ERL_MAX_PORTS.

Change-Id: I2e0f4c0cf87cf552f89058bde484636fc6713e2a
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-8347: advertise cancel XDCR endpoint without typo

trivial merge

Change-Id: If60dd8acf28a7c3c0ac99b6c7ddc2d9130e5fab4
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-8239  Fixed cbcollect_info for OSX.
  MB-100: added more documentation for babysitting VM feature

trivial merge

Change-Id: I9d515750e3333290a6a754f680a3d3c6e8261ae3
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-100: removed : after internal settings descriptions
  MB-8348:added internal setting for use of fadvise in db compactor

trivial

Change-Id: I1b2566d9824e82496865ed2b1ea84a188a5f2366
MB-100 Use infinity gen_server timeout in request_throttler.

Change-Id: I1739838756a27f5a921b50f0dc25d602204deaab
Reviewed-on: http://review.couchbase.org/26561
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-8341 Use binary names for all lazily computed stats.
  [bp] MB-100 Use infinity gen_server timeout in request_throttler.

trivial merge

Change-Id: I3759c8141c5d71cc30bbe507f5917ac2a6e2a920
Merge remote-tracking branch 'couchbase/2.0.2'

* couchbase/2.0.2:
  MB-100:cbcollect_info: ask windows netstat for process pids

Change-Id: I96b20692da12d282336eb89ab4035a0934c368a7
Merge remote-tracking branch 'couchbase/2.0.2'

* couchbase/2.0.2:
  MB-8337: handle 1.8.1 nodes in server details
  MB-8329: recover showing of short document part in docs list

Change-Id: I05b62ffdaa5b8de45347a0074882ba37a997fc6d
MB-8295: Use new dev views

This commit makes the switch between using the old couchdb
based dev views to the new set view based dev views.

Needs couchdb change http://review.couchbase.org/26518
merged first.

Change-Id: Idd4b2c31660037928d17a1a53eeeec64819618ce
Reviewed-on: http://review.couchbase.org/26519
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Merge remote-tracking branch 'origin/2.0.2'

* origin/2.0.2:
  MB-100 Revert "MB-100: killed addr_util.erl"

trivial

Change-Id: Id90fd1742e19690e7f189d2bdbc585ad18bc6d40
Merge remote-tracking branch 'couchbase/2.0.2'

* couchbase/2.0.2:
  MB-8352: take index path from node details in 1st wizard step
  MB-100: fixed funny typo in CHANGES
  MB-100: wait long enough for child processes shutdown
  MB-100: really hide hidden submit on 1st step of wizard
  MB-8379 Always provide default value for num_threads parameter.
  MB-8383 Count {set,del}-return-meta in ops and xdcr_ops.
  MB-8363: implemented readers/writers settings UI
  MB-100 Ignore some irrelevant settings for memcached buckets.

Change-Id: Ideb6b86fc5d0f37fc11498cc4e606437b5630ca3