MB-9640: Add missing <limits>

The build slave failed with:
src/generated_configuration.cc: In member function ‘void Configuration::initialize()’:
src/generated_configuration.cc:466:42: error: ‘numeric_limits’ is not a member of ‘std’
src/generated_configuration.cc:466:68: error: expected primary-expression before ‘>’ token
src/generated_configuration.cc:466:69: error: ‘::max’ has not been declared
src/generated_configuration.cc:466:69: note: suggested alternative:

src/generated_configuration.cc:467:41: error: ‘numeric_limits’ is not a member of ‘std’
src/generated_configuration.cc:467:67: error: expected primary-expression before ‘>’ token
src/generated_configuration.cc:467:68: error: ‘::max’ has not been declared
src/generated_configuration.cc:467:68: note: suggested alternative:
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: note:   ‘std::max’

It's fixed with including <limits>.

Change-Id: If5d74f0b5d9e575f46f49d4ad75d4179aa62b35d
Reviewed-on: http://review.couchbase.org/30625
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
MB-9627: Add failover log to stream request response

Change-Id: Ia542e29ca5ea6717fce61cdaf493fa331c7e7ca0
Reviewed-on: http://review.couchbase.org/30489
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove some unixism

Change-Id: I85705cd5fdf969e333ac1dd4618f3d177cec2979
Reviewed-on: http://review.couchbase.org/30556
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Added "engine-tests" as a separate make target

Change-Id: I8aa04fdb5b61b10a2a986f688bc95a836ce23c41
Reviewed-on: http://review.couchbase.org/30653
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Added missing return statement

Change-Id: Ia7f65ec1fb58b2a067a8c7db3570c434597aef99
Reviewed-on: http://review.couchbase.org/30658
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Use "git describe" as VERSION

Change-Id: Ic4d7ed4e9fbbdf669cb6fec0a2864ef44d98635a
Reviewed-on: http://review.couchbase.org/30655
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove old autoconf files

Change-Id: I2707a3749a6b52903648fd6974884f78f8af70be
Reviewed-on: http://review.couchbase.org/30656
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Disable building of the generated tests

Change-Id: I7d936bd7a296aa45100ad6ddf7f4e698cedd9781
Reviewed-on: http://review.couchbase.org/30667
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Remove compiler warnings

src/couch-kvstore/couch-kvstore.cc:1389:15: warning: explicitly assigning a variable of type 'uint32_t'
      (aka 'unsigned int') to itself [-Wself-assign]
    itemFlags = itemFlags;

src/couch-kvstore/couch-kvstore.cc:1460:15: warning: explicitly assigning a variable of type 'uint32_t'
      (aka 'unsigned int') to itself [-Wself-assign]
    itemflags = itemflags;

src/couch-kvstore/couch-kvstore.h:249:12: warning: private field 'valuelen' is not used
      [-Wunused-private-field]
    size_t valuelen;

Change-Id: Iaec2830b82e2689f26d312c19bd1f4739d3d2b7a
Reviewed-on: http://review.couchbase.org/30668
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
MB-9645: Workaround for broken c++ compilers

<unordered_map> should be part of C++11, but the clang 4.1.0
defines __cplusplus claiming it support it, but doesn't contain
the header..

Change-Id: I8503d1fdb996b393d9f40d1ef8821afbf6930ba0
Reviewed-on: http://review.couchbase.org/30665
Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
CBD-1148-prereq: Replace IOManager => ExecutorPool

As we will be moving Non-IO tasks into the common
shared thread pool, we should not call it an IO
manager anymore. Hence discontinuing it in favor of
a generic ExecutorPool name

Change-Id: I852a825577b9363c7b91796d40bd044652eb75ca
Reviewed-on: http://review.couchbase.org/30640
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Fix to the compile warnings.

Change-Id: I8c34fbf0b0a1ac2c80286da0653569a16209777d
Reviewed-on: http://review.couchbase.org/30675
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
MB-9161 Reset engine_specific to NULL when chk_persistence fails

If a checkpoint_persistence request fails due to the timeout,
we should then reset the engine_specific value to NULL, so that
the next checkpoint persistence request should work correctly.

Change-Id: Iab0ab3c41fe39dc7060c3d094ec04cb9cfadcb73
Reviewed-on: http://review.couchbase.org/30677
Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Merge remote-tracking branch 'couchbase/2.5.0'

* couchbase/2.5.0:
  MB-9161 Reset engine_specific to NULL when chk_persistence fails

Change-Id: I2258a56912833af4207a577e48dd2a784e5990e8
MB-9464: add stat ep_num_workers for thread count

Change-Id: I1a0137e6ee1a402364d417adaf2cff9f7dcd4acc
Reviewed-on: http://review.couchbase.org/30679
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>
Don't check for winsock header etc

Change-Id: Ia33b95bd98c1de91409841b30a0ee7ebcb9b4e1d
Reviewed-on: http://review.couchbase.org/30705
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't define min/max macros for win32

Change-Id: I3d2ce259c327ec9c4410909dff5c0cdc1e6409ee
Reviewed-on: http://review.couchbase.org/30706
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove compiler warnings

Change-Id: I48743038fba8bb9df4a8d392b48bd79d8029a16d
Reviewed-on: http://review.couchbase.org/30703
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>