forbid clustering of 1.8.1 and 1.7.1.1. MB-5194

So that users who don't read release notes can not shoot themselves in
foot.

Change-Id: I74d44a1c8f875d534d8e62abc6f4f3025a5c0757
Reviewed-on: http://review.couchbase.org/15481
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
don't sort lines of xml manifest because that's silly

Change-Id: I4bd7aef48210b06b7b030441471a9ebbee86ab38
Reviewed-on: http://review.couchbase.org/15724
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
also log full args of ebucketmigrator. MB-5229

So that we can see bucket name.

Change-Id: I50fe181873ad44ebbc372f1e56caa7c0dbc9b695
Reviewed-on: http://review.couchbase.org/15725
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
sleep a bit when failover was not completely effective. MB-5247

As a workaround for MB-5247 lets wait a bit for all partial failover
effects to be done.

I.e. when janitor run fails there will still be replications to set up
into failed over node. When this node shuts down it's buckets those
replications will fail and cause max_restart_intensity_reached for
ns_vbm_sup. Sleep will cause this to happen before somebody can click
rebalance and be confused by rebalance failure.

Change-Id: I0f5f4f9b29b316dfafc65eb1169a42f059551d6e
Reviewed-on: http://review.couchbase.org/15726
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
fail rebalance if janitor run fails

While looking MB-5247 I've noticed that we're ignoring return value of
janitor cleanup run. Which should be fixed.

Change-Id: Ie32c2308ca75874037c289c0dfe925a317f59cb4
Reviewed-on: http://review.couchbase.org/15717
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
format numeric values (timestamp) as numbers in masterEvents

Because it confusing otherwise.

Change-Id: I096b6cfbe935baddbd1d8c93f3231efe10d71236
Reviewed-on: http://review.couchbase.org/15722
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Merge remote-tracking branch 'origin/branch-181' into branch-18

* origin/branch-181:
  sleep a bit when failover was not completely effective. MB-5247
  also log full args of ebucketmigrator. MB-5229
  don't sort lines of xml manifest because that's silly
  forbid clustering of 1.8.1 and 1.7.1.1. MB-5194

Change-Id: I6d45db3aef0e26a5c3fa9ede867f77ad627735a5
Merge remote-tracking branch 'origin/branch-18' into master

* origin/branch-18:
  format numeric values (timestamp) as numbers in masterEvents
  fail rebalance if janitor run fails
  sleep a bit when failover was not completely effective. MB-5247
  also log full args of ebucketmigrator. MB-5229
  don't sort lines of xml manifest because that's silly
  forbid clustering of 1.8.1 and 1.7.1.1. MB-5194

Conflicts:
	src/ns_janitor.erl

Change-Id: Ia72e6a9db30d84d58c78e8ca2c996319ae18ff0f
Merge "Merge remote-tracking branch 'origin/branch-18' into master"