2.5.1.1 cumulative HOT-FIX:  bp:MB-11825: ignore unexpected infos in new_ns_replicas_builder

Change-Id: I4613fe34c227d8d3440e68fce9cab218dabd979e
Orig-Reviewed-on: http://review.couchbase.org/39908
Reviewed-on: http://review.couchbase.org/39911
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-on: http://review.couchbase.org/41381
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>
Kill fast warmup settings.

Fast warmup support has never been implemented in ns_server.

Change-Id: Ic630e56052068b29b6fb77b59b80f98cd66c7f2b
Reviewed-on: http://review.couchbase.org/42087
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Mention type parameter of createReplication REST endpoint.

Change-Id: I89160c71f1680235145f13208119c81f99f76abd
Reviewed-on: http://review.couchbase.org/42145
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12239: remove bash shell wrapper from cbq-engine start-up command

Remove bash shell wrapper on cbq-engine start-up command because 
cbq-engine can now exit on EOF on stdin

Change-Id: I0984ab53394253a0161eed5bb19cd9a6bd14a35c
Reviewed-on: http://review.couchbase.org/42079
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: hot servers section fixes

Change-Id: If6ddfa5af03768e0e688ff5ee2e81987a7efe31f
Reviewed-on: http://review.couchbase.org/41905
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: serialize data of every request to the server

Change-Id: Iffb32d3bcfb323276b4108336af9d8e2f0267050
Reviewed-on: http://review.couchbase.org/41906
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: improved mnAdminServersService nodes filter

Change-Id: Ia56196c033ef37c1dc94d251b1452167ba6c0a04
Reviewed-on: http://review.couchbase.org/41907
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: initial cluster settings UI

Change-Id: I4cbcaf92e33f70e6b0b97092af8ffa8d8620b72e
Reviewed-on: http://review.couchbase.org/41908
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: initialize scopes after needed data have been retrieved

Change-Id: I4c53fdd686286af336faaeeb01942745780294db
Reviewed-on: http://review.couchbase.org/41981
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: initial implementation mnHttpService

[alk@tut.by: changed message to rename WIP to "initial..."]

Change-Id: I68da3052d00579363600e6cd332c937241251840
Reviewed-on: http://review.couchbase.org/42058
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12222: finalize cluster settings section

Change-Id: Ib425da45b5dbad176f1039da309f02e8b2097616
Reviewed-on: http://review.couchbase.org/42123
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: remove unused and not functioning /docs api

Orig-Reviewed-on: http://review.couchbase.org/36734

This is trival cherry-pick.

Change-Id: I4c9e42923da6a9c39302779d671d866953007f44
Reviewed-on: http://review.couchbase.org/42174
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: dropped never used "resources" REST API endpoints

Orig-Reviewed-on: http://review.couchbase.org/35932

Conflicts:
	src/ns_storage_conf.erl

This is near-trivial cherry-pick.

Change-Id: I147a9919a626ccae35b6e2d5960a2ede6c46e8e7
Reviewed-on: http://review.couchbase.org/42175
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361: do not use server header for send_no_active_vbuckets

This is de-facto backport of http://review.couchbase.org/36739.

Change-Id: Ie45730d867e50772866eb8d14411d670828190a0
Reviewed-on: http://review.couchbase.org/42176
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 export ale:start_logger/3

Orig-Reviewed-on: http://review.couchbase.org/36667

This is trivial cherry-pick

Change-Id: Icc4054a04b6f226c4c32c7906082b1974036df76
Reviewed-on: http://review.couchbase.org/42177
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 infrastructure for ... access.log

Orig-Reviewed-on: http://review.couchbase.org/36608
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>

Conflicts:
	etc/static_config.in
	include/ns_common.hrl
	src/ns_server.erl

The commit is not clean cherry-pick and worth separate code review.

Change-Id: Icd74d28de820c4fbb4646bef8f96cba19bc02a2b
Reviewed-on: http://review.couchbase.org/42178
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 reroute all http respond calls ...

to the api that logs into access.log

Orig-Reviewed-on: http://review.couchbase.org/36609
Signed-off-by: Aliaksey Kandratsenka <alk@tut.by>

Conflicts:
	src/menelaus_auth.erl
	src/menelaus_web.erl
	src/menelaus_web_crud.erl

This is not straightforward cherry-pick. Worth separate code-review.

Change-Id: I3404ab78c59794673f74a41571bae48cb8e09b36
Reviewed-on: http://review.couchbase.org/42179
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 add access.log to /diag and cbcollect_info

Orig-Reviewed-on: http://review.couchbase.org/36842

Conflicts:
	cbcollect_info
	src/diag_handler.erl

This is near-trivial cherry-pick

Change-Id: I07700fd9ed67d2edb268d84c1c583608ef6e9310
Reviewed-on: http://review.couchbase.org/42180
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12361:bp: MB-10020 rename access.log to http_access.log

Orig-Reviewed-on: http://review.couchbase.org/38197

Conflicts:
	cbcollect_info
	include/ns_common.hrl

This is near-trivial cherry pick.

Change-Id: I374f0723526799babb9e23cae99e77a1541780a4
Reviewed-on: http://review.couchbase.org/42181
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge branch 'rel-2.5.1.1'

* rel-2.5.1.1:
  MB-12361:bp: MB-10020 rename access.log to http_access.log
  MB-12361:bp: MB-10020 add access.log to /diag and cbcollect_info
  MB-12361:bp: MB-10020 reroute all http respond calls ...
  MB-12361:bp: MB-10020 infrastructure for ... access.log
  MB-12361:bp: MB-10020 export ale:start_logger/3
  MB-12361: do not use server header for send_no_active_vbuckets
  MB-12361:bp: dropped never used "resources" REST API endpoints
  MB-12361:bp: remove unused and not functioning /docs api

This is empty merge because it merges back backports

Conflicts:
	cbcollect_info
	deps/ale/src/ale.erl
	etc/static_config.in
	include/ns_common.hrl
	src/capi_view.erl
	src/diag_handler.erl
	src/menelaus_access_log_formatter.erl
	src/menelaus_auth.erl
	src/menelaus_util.erl
	src/menelaus_web.erl
	src/menelaus_web_buckets.erl
	src/ns_server.erl
	src/ns_storage_conf.erl

Change-Id: Id9ab6aefc72c64859caada5e0440c2ebfd049ae1