MB-11113 raise user_supplied flag during the user initiated node name change

... even if the node name has not actually changed.

Change-Id: Ifc809a48b9b9a70359b9432ee89ab5fa8284ebbf
Reviewed-on: http://review.couchbase.org/37487
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
initial UI using AngularJS

Change-Id: I7745de6c25b9c28d440e43c6681079116608d72b
Reviewed-on: http://review.couchbase.org/36780
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-11228: handle end_stream right after stream_request

In some cases (like upr_notifier failing, for example if bucket
instance does not exist yet) we might be woken up to replicate even if
xdcr is fully up to date.

In that case we'll ask ep-engine to get us upr stream with start seqno
and end seqno being same numbers. And in that case ep-engine will not
send us upr_snapshot_marker but it'll give us stream_end immediately
(after checking for rollback as usual).

We now handle this case by faking and handling trivial snapshot
marker.

Change-Id: Ie13d1e76c9654ec3fb7972f9a91eb6b9996c8f75
Reviewed-on: http://review.couchbase.org/37695
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-11228: start LastSeenSeqno with StartSeqno

Most of the time it doesn't matter because we actually process at
least one mutation (which update LastSeenSeqno) before processing end
stream. But in case we see no mutations (in case StartSeqno =:=
EndSeqno), then we'd otherwise signal LastSeenSeqno =:= undefined and
break parent xdc_vbucket_rep which would set current snapshot seqnos
to undefined.

Change-Id: I05bc70742b7880e5751e44fc57cb89d1db3fdc8e
Reviewed-on: http://review.couchbase.org/37697
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-10086 : auto collect info UI

Change-Id: Ie432570488184eefcfe8c6175c75e082d67cfee6
mark

Change-Id: Iaf5eeba2c0bc7c8e031f4e93093f43af2b8a7a51
mark

Change-Id: Ie0bf90473f1a026dddcc445e81e689fca4fffd4c
mark

Change-Id: I39c9e183279712cabe0bacd288c3b8fe94f1c5d9
mark

Change-Id: I46c82a2d97779d27bae64b3bcf7122abbec96727
[cbcollect_info] added hidden --watch-stdin flag

So that we can spawn this thing from erlang and make it exit if erlang
asks it to

Change-Id: I5e7b31c4a988ec964eed4598dbf8ae458cb2dfb0
added cbcollectinfo flag to get per-process diag from one node

So that we can run cbcollectinfo on all nodes concurrently.

Change-Id: Icf9a3fa70fc86071bb1799e23ff8c7ddf9af3e35
cbcollect_info: wip: added "path to initargs" flag

So that we can do cbcollect_info for cluster_run nodes

Change-Id: I0705f8805f23352eb255474036f06d4cbcbe7b76
mark

Change-Id: I7e32a8748f9c3b54f33099231454c4fab8d36e29
mark

Change-Id: I84a546f5b91a51d3b984a261e648e3c851285290
pass nodefile arg and absolutize datapath for cluster_run

The former enables cbcollect_info on cluster_run clusters. And the
later is requested by couchbase-fork-of-memcached people.

Change-Id: I175e6efd8b85c7a563f1c529669b849cbf74c865
mark

Change-Id: I8159b0c065a442ab320e855cd01ac7f2348a9068
cbcollectinfo: proper --watch-stdin

Change-Id: Ib66d04384f313629579aa7e1a3e26d49d340b2f8
cbcollect_info: implemented --just-upload-into via curl

Change-Id: If8e1b1e282ee6b98723c132c8dcb09ad30326177
upload amend

Change-Id: Ia86bba65266b8d9928b428becf5ab0ceaf08a885
stdin-watch amend

Change-Id: Iaf38c29fe02a8b14053655da62dce206493d80d7