AngularJS: servers section

Change-Id: I49d6f9840fb8e16c8e1dd83d54b2319ce9a79f9f
Reviewed-on: http://review.couchbase.org/41019
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
remove mccouch notification constant definitions

because mccouch is gone

Change-Id: I7374c10dee313d4c7fddf0dfedfc53289851db4b
Reviewed-on: http://review.couchbase.org/41586
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
dropped mccouch_port config

Change-Id: I597ad153d54771dec2d8a20b0fff0e37786f0362
Reviewed-on: http://review.couchbase.org/41587
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12238: set timeout of 10 minutes on xmem requests

As another measure against possible issues when NAT between DCs
forgets about our connections. With this patch, if this happens, xdcr
will still get stuck, but it won't last too long due to timeout. When
timeout hits, affected xdcr replicators will crash and be restarted
have a decent chance of working.

Change-Id: I30e07c1ab8e73a79d5aa0502c3e39e2bb59c7ce0
Reviewed-on: http://review.couchbase.org/41588
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12238: set SO_KEEPALIVE on xmem and ssl proxy sockets

As another guard against possible issues when NAT forgets about
connections between datacenters.

Change-Id: Ia221bf5ff53fc564ccac1df8edcb02adf8f50084
Reviewed-on: http://review.couchbase.org/41589
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12050: set C locale for cbcollect_info

Change-Id: Ib189822f56ea2dc52095d5e9535785cd1e9b562b
Reviewed-on: http://review.couchbase.org/41803
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
MB-12288:only allow xdcr-over-ssl proxying to memcached data port

Change-Id: Ied0f2c8e9d01959ca5be34b15b2b47d91d89cac8
Reviewed-on: http://review.couchbase.org/41804
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
fix and use ns_config_replica:get_compressed

Change-Id: I7db8172e035ffb0ea873b76e74cad0f0fd470eba
allow to initialize config by pulling it from another node

we also need to create duplicate set of node related keys for the node
we are copying config to in order for calls like search_node to
work correctly
initial implementation of couchdb node with the copy of config

no config replication yet

Change-Id: I934f5cd8e601cf1a830af9a96b060777748f1762
config replication from ns_server node to couchdb node

Change-Id: I05973c066c6953d9f76224f5ec1148a431b20f28
make single_bucket_sup a parameter in ns_bucket_worker_sup

so the same supervisors can be reused for couchdb node

Change-Id: I8a753e5ec8cee5cfab6c581ba710e7d80d718b02
handle ns_server node rename on ns_couchdb node

Change-Id: I0212a061f9d4522a300c3cd7120679dbe0a9c14b
do not use couch_config from ns_config_default

since there will be no couch_config on ns_server node, use env variable
with default value instead

Change-Id: If4bc21d0f4bc2fef55be83e36aa7e70587a0cff8
make sure that modules for child nodes are loaded in the same order

... as for ns_server node

Change-Id: Iec5f19c11046506d18063932e8c312a40b17e675
use sockets from pool for all compaction related calls to memcached

to be able to run compaction daemon on a node without ns_memcached
server

Change-Id: I193fd60957eaa973860452436bc63e2202c4082b
use http to access couchdb on handling /couchBase urls

the existing hack with passing mochi request to the couchdb web
server won't work after couchdb will be moved to different node

Change-Id: If176e18f2e33777e4b4f9bda5601bb974be137a0
remove unnecessary opening/closing of master db from xdc_vbucket_rep

Change-Id: I4da4e696c98121297db3cbb3cc3e4f18b9a6ce5e
remove some dead code

Change-Id: I0b546b5a5cc87dc988a439914b58029848a4710c
move some functions unrelated to rdoc replication out of...

... xdc_rdoc_replication_srv.erl to the separate module

Change-Id: I08a0420b872ab16335e672ae07e95aaee7914698