MB-10382 adopt new format of vbucket-seqno stat

Change-Id: I7167369eec4cda3bba151f18698f75101fb88126
Reviewed-on: http://review.couchbase.org/34651
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-10303 Correctly check all the constraints with num_replicas=1.

Change-Id: I9141a819fd1d46e1d25b2f5888ea736c43f3cb1c
Reviewed-on: http://review.couchbase.org/34663
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-10502: adjust vbucket-seqno stats and unbreak xdcr

New-style checkpointing is using this stat and recent ep-engine change
requires different stat name.

Change-Id: Idc5674359ab2999f8afa907910765d9d6267e379
Reviewed-on: http://review.couchbase.org/34668
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Make inclusive_end actually work.

The problem is that default value for inclusive_end if it's omitted is
true. And the code explicitly skipped all the form fields which values
evaluate to false in if statement. So I made it not to skip boolean
fields.

Change-Id: I75ea60f9cc061e0187f125d9f3a0f2526d46bf37
Reviewed-on: http://review.couchbase.org/34661
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Disable "descending" parameter for documents filter.

Because we won't be able to support it with all_docs replacement.

Change-Id: Ia8d956ef3a5993fa6ecf5808f7ac9848f480b769
Reviewed-on: http://review.couchbase.org/34662
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-10051: configurable disk and metadata limits

Change-Id: Ie669507b50d190eb550298ee1378977f4a1cbf15
Reviewed-on: http://review.couchbase.org/34265
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
don't import a bunch of couch_util functions in header file

Change-Id: I2472efedca9c0789d4648678a1260901707928ed
added xdcr_upr_sockets_pool

Change-Id: Ifcd228367684970b15150200cc83ff3451ff3079
mark

Change-Id: I85df96c23fb14bf81901ab49d70120b7d042dd64
mark

Change-Id: I914de6e3a074274b73f25c8adbdd966142397c35
mark

Change-Id: I359618c4ba848ce4e0b2ca39e9ea4d98dbd79d67
mark

Change-Id: I156ac00ea9855043c0d1f22849afdd0621c9299b
mark

Change-Id: Ida38baf1c9ee12ade23b222ab6e78fa7d159abb7
mark

Change-Id: Iaad5b84e2e061d516b19b18d72e25a42c5a1c6e7
mark

Change-Id: Iaa4d8cb043ef39e5afe374d3eb9fee55023b7c0d
removed duplication in queue_fetch_loop

Change-Id: I930e163f8d5b39d4f1e327b22ead24425cdb036b
mark

Change-Id: I701e233957af4900334c9ac3e58af9f4f32a91b8
mark

Change-Id: I60c000764f6e126a82f2590280247e3bd0a67fe3
mark

Change-Id: I509beb87a544499f9dfc854f504e9ac19eb76547
more flow-control-able xdcr upr streamer

Change-Id: I4be396bf60c68ea812ff845574e091f814903678