removed tab settings

Change-Id: Ic20a28b0e23e308e63211dce0d588641c16468d0
Reviewed-on: http://review.couchbase.org/31084
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9722: changed groups style

Change-Id: Ia048b1ad3f0f8d86e04c40b2aeb05e4513744aea
Reviewed-on: http://review.couchbase.org/31085
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9693: Dump keys by memcached errors in XMem

It is to help ep_engine diagnosis hard bugs where remote memcached
returns unexpected errors. Today we make a list which includes all
keys with memcached errors. It turns out ep_engine is more interested
in some of them like enoent than others like not_vb_bucket, which is
totally expected during topology change.

This commit categories all keys by their error type, and dump them
separately. Also, it only dumps at most 10 keys for each type of error
for diagnosis to avoid spam logs with error keys. For example, during
an active replication, topology change may generate thousands of keys
dumped to logs due to not_my_vb error.

Change-Id: I5127461af0b450090bbfc65d0992384373384e7d
Reviewed-on: http://review.couchbase.org/31023
Reviewed-by: Junyi Xie <junyi.couchbase@gmail.com>
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
MB-9663: consume src_db_update msg when rep is in init

Due to an earlier change, a vb replicator may receive a src_db
_update msg when it is still in initialization. But vb replicator
does not know handle it, leading to vb replicator crashing at the
function_clause error. This commit adds the handle function, which
basically does nothing but consuming the msg, because replicator
will send itself a src_db_update msg after init is over to check
if any update to replicate.

Change-Id: Ie7d39ec7b5a0a3511991b23a8f2ee8f2215f8e2c
Reviewed-on: http://review.couchbase.org/31086
Reviewed-by: Junyi Xie <junyi.couchbase@gmail.com>
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>
MB-9765: html escape

Change-Id: I9dae706ee275aa068f58415d474560f2056d5d8a
Reviewed-on: http://review.couchbase.org/31247
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
CBSE-889: gather Linux CPU throttling stats

There's some evidence that enabled "EIST" (CPU stepping) feature of
Intel might make a difference between "erlang times out for no
apparent reason" and normal operation. We have been pointed at:
https://bugzilla.kernel.org/show_bug.cgi?id=36182#c27 for more
information. And the ticket mentions this stats, which we now gather
as potential clue about another possible cause of misbehavior.

Change-Id: I59f0f8e1adf7e7d138f9313f328b5945121d103f
Reviewed-on: http://review.couchbase.org/31342
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
fixed typo

Change-Id: I4f362919da17a114c8e7e61b65511edbe8120777
Reviewed-on: http://review.couchbase.org/31365
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
send errors from remote clusters correctly

Change-Id: I0cf8f863a61d571212e3170fd8727d2c3aedf1dc
Reviewed-on: http://review.couchbase.org/31366
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-9340: added generate_cert program

Change-Id: I68d5ddf28cca6f846f534b31e1ea9f28a711fd5d
Reviewed-on: http://review.couchbase.org/31367
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
added support for textarea to setFormValues

Change-Id: I2b1a8e1b73443ce1d4e2727fa5840efead9e6115
Reviewed-on: http://review.couchbase.org/31378
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9341: understand new xdcr fields for menelaus_web_remote_clusters

Change-Id: Iaf44a9fc6c52ab60a84a9c527bc9b19637fc9aa9
Reviewed-on: http://review.couchbase.org/31377
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9338: expose couchApiBaseHTTPS

Change-Id: Id0e0f72b24acc39c1fb6393db02f5cb7fefc5189
Reviewed-on: http://review.couchbase.org/31372
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
removed excessive logging in compute_with_expiration

Change-Id: I4c56753b3aa90dc5a8511dbc17de777841181f4d
Reviewed-on: http://review.couchbase.org/31387
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9341: basic xdcr-over-ssl UI

Based on initial work by Pavel Blagodov

Change-Id: I85cdad3ffa13aa03c5df576e756fae000f4cb130
Reviewed-on: http://review.couchbase.org/31379
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9340: sanitize private key in ns_config logs

Change-Id: Iff5fde38affb268281417f7bcedb333cc8184a21
Reviewed-on: http://review.couchbase.org/31370
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9338: prepared https support in server

Change-Id: I9f778785bf8b866ab536078ba914e4ca8c194102
Reviewed-on: http://review.couchbase.org/31368
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9338: added description of public API of XDCR-over-ssl

Change-Id: I634e495efacf6f24f89fa1250791881a42be8dae
Reviewed-on: http://review.couchbase.org/31380
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9338: added https support to menelaus_rest

Change-Id: If666721ea90343e4c2b7b59a9b0b5be15413c28f
Reviewed-on: http://review.couchbase.org/31371
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9338: implement certificate verification for xdcr https

Change-Id: I2f0868b85caec7f772d8aa8a2de9a0dee5e4f177
Reviewed-on: http://review.couchbase.org/31374
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9340: generate certificate and start https services

Change-Id: I1069c874ff3441c55018685165488ffe88d64cee
Reviewed-on: http://review.couchbase.org/31369
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>