MB-100: correctly reach for errorsCell in buckets dialog

Change-Id: I4200ece0f6a4518aa91bdb8b328889fb10d867e6
Reviewed-on: http://review.couchbase.org/27554
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-8569: added note about this ticket to CHANGES

Change-Id: I1b707b64bba8de66c4f7078923383e2379fb4433
Reviewed-on: http://review.couchbase.org/27555
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: disable warnings on deprecated functions for gen_smtp

I.e. for R16B01

Change-Id: I04224177b56afc2885bab8d7be1e8dd66effd7dc
Reviewed-on: http://review.couchbase.org/27558
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-4049 limited autofailover timeout by 1hr

Change-Id: I6e7a173c61e785239b7b943b45d255290b49d5de
Reviewed-on: http://review.couchbase.org/27616
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-8656: allow adding vm flags of child vm via env variable

By setting environment variable COUCHBASE_NS_SERVER_VM_EXTRA_ARGS it
is now possible to add erlang vm flags of child vm. It is interpreted
as erlang term which must represent list of strings.

E.g. in order to pass +swt low you can do the following:

COUCHBASE_NS_SERVER_VM_EXTRA_ARGS='["+swt", "low"]' ./cluster_run

Change-Id: I172c2985dbbccdd139bb2ea929244d6ec0d8e866
Reviewed-on: http://review.couchbase.org/27578
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: added ability to search_xxx for latest config

We can see tons of places where we're doing something like:

ns_config:search_prop(ns_config:get(), xxx, yyy)

Given we're fine with latest config in that places it makes sense to
use eval-based search instead of getting full config and searching it.

So now we have special way to indicate latest config which is atom
'latest-config-marker'. So code above becomes:

ns_config:search_prop('latest-config-marker', xxx, yyy)

and is measurably faster

Change-Id: Iadac2ad13504b63ece0496d4d2a224168fec8d15
Reviewed-on: http://review.couchbase.org/27579
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: use faster module-less reference to ns_config inside it

Change-Id: Icc2846b0eba4d4c47078010b4524da19745f71b5
Reviewed-on: http://review.couchbase.org/27580
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: speed up menelaus_auth:check_auth

I.e. via 'latest-config-marker' api.

Change-Id: I0bd2794e6b703035495115f6eaef4c7c93040481
Reviewed-on: http://review.couchbase.org/27581
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: bump ns_server:get timeout

Because sometimes xdcr and views could be abused to such extent that
even prioritized ns_config may have issues serving requests quickly
enough.

Change-Id: Ife261ce77bd80b6e815343b30a239ed7c54fd2a2
Reviewed-on: http://review.couchbase.org/27584
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: bump priority of ns_config process to high

Change-Id: Iaefb99dd2e13e22ffa1e4f856d5521153a675362
Reviewed-on: http://review.couchbase.org/27585
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: bump priority of ns_doctor

Change-Id: Id3e34079cefc6a02b014e2a58df66472da3061f0
Reviewed-on: http://review.couchbase.org/27587
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-100: render pool details field that only ui needs only for ui

Change-Id: I8e5f0f5e86b7a54fe0e3a524aacf371d02775329
Reviewed-on: http://review.couchbase.org/27583
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Merge remote-tracking branch 'couchbase/2.2.0'

* couchbase/2.2.0:
  MB-100: render pool details field that only ui needs only for ui
  MB-100: bump priority of ns_doctor
  MB-100: bump priority of ns_config process to high
  MB-100: bump ns_server:get timeout
  MB-100: speed up menelaus_auth:check_auth
  MB-100: use faster module-less reference to ns_config inside it
  MB-100: added ability to search_xxx for latest config
  MB-8656: allow adding vm flags of child vm via env variable
  MB-4049 limited autofailover timeout by 1hr
  MB-100: disable warnings on deprecated functions for gen_smtp
  MB-8569: added note about this ticket to CHANGES
  MB-100: correctly reach for errorsCell in buckets dialog

Change-Id: I0f2adfb9cee620d4ca07c79411049196cf5b8fe7