Use new vbucket_what_changed()

More accurate, consistent, and efficient managing of config updates.

Change-Id: I08f3a095a793385a9fc53286b511770c05539b17
Reviewed-on: http://review.couchbase.org/33802
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Use HTTP Streaming on memcached buckets

Change-Id: I1bf3b64245fa2fce8fdd5aa967cc591d73981bd5
Reviewed-on: http://review.couchbase.org/33803
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Restructure confmon a bit more

This restructures confmon to make its behavior more reliable and
testable.

More documentation has also been added to the header file to demonstrate
some aspects of the system

Change-Id: Ibff4d394808c21f2ef3c7463d8b543b415d46f95
Reviewed-on: http://review.couchbase.org/33825
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CMake/Check-All: Allow for specifying runtime linker paths for tests

Change-Id: Icd2f17de3eb9220d4e27972035db2a6c27e78090
Reviewed-on: http://review.couchbase.org/33852
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
cmake/configure: Force unix makefiles

On OS X cmake generates an Xcode project by default

Change-Id: I89a0692a91a288c6d015539fb7968d9a689c3af8
Reviewed-on: http://review.couchbase.org/33853
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
cmake: fix mock URL

Change-Id: Ic122aad86eaeec7137cfbaa6e4e1924b088d3aaf
Reviewed-on: http://review.couchbase.org/33854
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reword README

This reflects libcouchbase being a mature and well defined project.

Change-Id: Iad12740db2ef8d586036f59731d5e203ef5f5249
Reviewed-on: http://review.couchbase.org/33920
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Update VERSION_STRING in autoconf to 2.3.0-dp2

Change-Id: Iee573bdd88b0aacb24186c141cc7c546dd2082c1
Reviewed-on: http://review.couchbase.org/33999
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Speed up mock instantiation.

Rather than creating a new instance for each time we reset the mock, we
make the instance persist throughout the lifetime of MockEnvironment

Change-Id: I3e63200df47f13cf43bc7bb340d5d55809768e2a
Reviewed-on: http://review.couchbase.org/34017
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Allow operation to modify the config nodes

This should allow the nodes to be modified before bootstrap. It may also
be used to modify the nodes after bootstrap but has not been tested.

Change-Id: I222f0d148ffc0233af9d085c745e05a8ea2c158b
Reviewed-on: http://review.couchbase.org/34000
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Use LCB_CONFIG_HTTP/MCD_PORT rather than hardcoded literals

Change-Id: Iff6a19ef0653526c27eac0528def5d1333b6b2f6
Reviewed-on: http://review.couchbase.org/34001
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Log OS Error on connection failure

Change-Id: I4b4693cf618b31238ca7156760ad7f3db837cc89
Reviewed-on: http://review.couchbase.org/34019
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
cccp: cast body size to unsigned long before printing

Change-Id: Ia08530d3e0ee834f735f7d99195f88ceb701feea
Reviewed-on: http://review.couchbase.org/34020
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Use SetUp() instead of SetUpTestCase

I came upon this problem when I started actually randomizing bootstrap
nodes. In this case we'd hang on a single connection for a long time - I
figured out that the previous test was failing over nodes and there was
nothing to restore them. Using SetUp runs before each test function
rather than SetUpTestCase which runs only before the class itself.

This makes things far quicker and more reliable.

Change-Id: I727cb8faba538a6515dfab41f934c6acebe367a5
Reviewed-on: http://review.couchbase.org/34021
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Randomize bootstrap nodes

For some reason this was never re-implemented

Change-Id: I6a36edf8e327d6efd0ab4f561dfb1d0b6be691dd
Reviewed-on: http://review.couchbase.org/34018
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
bc_cccp: Make it clear we're always using SASL

This change solidifies the existing behavior in that we always do SASL
auth.

Change-Id: I734f6be60f95a5931deb84650d46798072ba49a2
Reviewed-on: http://review.couchbase.org/34022
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reformat README slightly to be 80 column friendly.

Change-Id: I0f4aa0c4d6520f650d553765983732896a7f4dc8
Reviewed-on: http://review.couchbase.org/34116
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reset 'MockEnvironment' for confmon tests

Change-Id: I5638fb9e77a7828112c6d9717ee05cb3a37b7134
Reviewed-on: http://review.couchbase.org/34139
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
Fixed LCB_CNTL constant which was incorrect defined.

Change-Id: I17a4816d8cb6855e37d372ce942388ee25aabb8f
Reviewed-on: http://review.couchbase.org/34140
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
confmon test: don't memset listener

'listener' is not a POD and contains a std::set.

Change-Id: I9e474c21002f1614f7627a65f551440716f30163
Reviewed-on: http://review.couchbase.org/34144
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>