use ∞ timeout for mc_client_binary:compact_vbucket

Because we expect it to take very long time.

Change-Id: I786a13153067a65f2ea28b781c040314520fa37b
Reviewed-on: http://review.couchbase.org/33808
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-5487: apply updated xdcr token count immediately

With this commit when max_concurrent_reps changes, we're passing
updated value to concurrency throttle without any delays.

Change-Id: I22eedd359a1d6ade697bfa9d1e7a820df2161454
Reviewed-on: http://review.couchbase.org/33707
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-5487: made xdcr stop work sooner on drop of tokens count

Concurrency throttle now detects drop of tokens count and will ask
processes holding token to release token back sooner. This is done via
return_token_please message.

xdcr vbucket replicator handles this by sending changes reader
a message to stop asap.

Change-Id: I68bea458c3799d3a15e01ed03fd4e97a7d177311
Reviewed-on: http://review.couchbase.org/33708
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-10073: added support for pauseRequested xdcr option

Which simply forces effective token count to drop to 0.

Change-Id: I63cda4d184c27e24f583f5a16c11291e480d93d4
Reviewed-on: http://review.couchbase.org/33709
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-10073: expose xdcr paused-ness in tasks API

I.e. so that UI and tools can observe if/when xdcr replication is
actually paused.

Change-Id: I22ed94a12c42d5a19724328cd5d7319078d3269e
Reviewed-on: http://review.couchbase.org/33710
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-10073: implemented UI/js for xdcr pause-resume

This is based on prior ui work by Pavel Blagodov submitted here:
http://review.couchbase.org/33439

Change-Id: Ifa5fac1748746d5459bf4d1636f6efea9d18526a
Reviewed-on: http://review.couchbase.org/33711
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
dropped ui support for pre-2.0 cluster compat modes

Change-Id: I631ee2f96b2bef928ca0f22c5cb29d682d46fe93
Reviewed-on: http://review.couchbase.org/33712
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-10073: improved UI/js for xdcr pause-resume

Change-Id: Ibebf9f39caf24a76b47f1431b3e9cb2989500fce
Reviewed-on: http://review.couchbase.org/33792
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-10151: fixed tunable Memory UI

Change-Id: I81a3875c2f8cedff6fff59c6686d8bbe051fc192
Reviewed-on: http://review.couchbase.org/33793
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-6983: proper quantity format for large graph

Change-Id: I2a1afdb0918aa760b6afe05a79e1366e159ec236
Reviewed-on: http://review.couchbase.org/33795
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-9343 assign repl_type to upr for new buckets in 3.0 cluster

for now only if enable_upr app env variable is set to true.

Change-Id: Icd3cf3cef4c7c3b0c2dbaf33e71e08144592f002
Reviewed-on: http://review.couchbase.org/33514
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 slight ns_rebalancer re-factoring

for better readability

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