Add a more descriptive error message to an ascii GET response.

Change-Id: Idcbb76b588849e5e8691f7214a1f276f6d1e4aeb
Add "stats connections" to dump all connections

Change-Id: Ife8978790e9d5c50362afcf8c9edc5802117364f
Initialize global mutexes when they are defined

This will prevent unitialized global resources, which may lead
process crashing.

Change-Id: I18812dfd00808958d6e0302c2b46c5918fda720e
Add support for SASL auth in mcstat

Change-Id: I5a309e131e80c3a89c94a879e2a316549ea1b8a4
Define a symbol which is missing on windows.

Define AI_ALL as zero to make compiler happy on windows.

Change-Id: I76947316a9f29cabafd2258af60076948d9a5d0c
Reviewed-on: http://review.couchbase.org/13669
Tested-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Fixed whitespace test failures

Exempted generated m4 files.

Change-Id: Icfe8e7fd356ea9efed7c6b881e40675fedd247c0
Reviewed-on: http://review.couchbase.org/13790
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Updated gitignore in exclude generated m4 files

Change-Id: I6c96d633eb1f7dba1932cd53e549266718236d0b
Reviewed-on: http://review.couchbase.org/13791
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Revert "Add a more descriptive error message to an ascii GET response."

This commit breaks multiple ascii tests and causes protocol violations

This reverts commit fd28ee4551678a54848e0794a00214c26bab67c7.

Change-Id: I19899a8b20eeaee7a4a4a4712510116f5f00161e
Reviewed-on: http://review.couchbase.org/13793
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Added tcmalloc/tcmalloc-minimal to build script

Change-Id: I1be0b10a5760813d5458175c54a0ea513a96fe34
Reviewed-on: http://review.couchbase.org/13778
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Fix byte ordering for flags in tap mutations

Change-Id: Ic11546771c94cc7dede16b462c1654daebfdf02d
Reviewed-on: http://review.couchbase.org/13718
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
MB-4058: Stats cachedump returns "SERVER ERROR Not implemented"

stats cachedump was returning errors such as out of memory
or errors saying the cachdump command wasn't in the correct
format. Since we don't implement this we should just always
return a not iplemented error.

Change-Id: Icc835e24ccf5bf3b67fe1081d2433a898f9faad5
Reviewed-on: http://review.couchbase.org/13854
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Added allocation hooks to engine hooks api

Change-Id: I7593d8e45ce063b45207b9c2ee0e0b7259eca2a5
Reviewed-on: http://review.couchbase.org/13779
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
[Backport] Added tcmalloc/tcmalloc-minimal to build script

Change-Id: I1be0b10a5760813d5458175c54a0ea513a96fe34
Reviewed-on: http://review.couchbase.org/14012
Tested-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
[Backport] Added allocation hooks to engine hooks api

Change-Id: I7593d8e45ce063b45207b9c2ee0e0b7259eca2a5
Reviewed-on: http://review.couchbase.org/14013
Tested-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
[Backport] Updated gitignore in exclude generated m4 files

Change-Id: I6c96d633eb1f7dba1932cd53e549266718236d0b
Reviewed-on: http://review.couchbase.org/14014
Tested-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Add -L to engine_testapp to have it loop the testcases

Change-Id: If955e268e6c9c00021db4256fb61ee52ce7ff5fd
Reviewed-on: http://review.couchbase.org/13917
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add alloc_hooks.c to fix build error

Change-Id: I814f1e659711b772095dede6909bc1fd027b6a4d
Reviewed-on: http://review.couchbase.org/14034
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>
Correctly read engine_specific data for TAP checkpoints/mutations

Fix the offset from where engine_specific data is read. The bug was
causing the seqno value of items to not be sent from the master to
the replica.

Change-Id: I077da20eb15d1a8672c46be893345f7b8181968c
Reviewed-on: http://review.couchbase.org/14237
Tested-by: Srinivas Vadlamani <srinivas@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Add alloc_hooks.c to fix build error

Change-Id: I814f1e659711b772095dede6909bc1fd027b6a4d
Reviewed-on: http://review.couchbase.org/14034
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>
Reviewed-on: http://review.couchbase.org/14272
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
Add tcmalloc support for windows

Change-Id: I3b71a53c9cfef68d52065c71b2f50ae6bb362236
Reviewed-on: http://review.couchbase.org/14311
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>