Corrected statname for bucket's memquota

- Using cbepctl for setting mem_low_wat,
and mem_high_wat breaks because ep_max_data_size
is used for bucket's memory quota which doesn't
exist anymore.
- Corrected stat: ep_max_size

Change-Id: If22ec8f43015c9fd87ad50674704a18089a7ee60
Reviewed-on: http://review.couchbase.org/32892
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>
MB-9893: delete and recreate corrupted access log

if attempting to open an access log whose size is less than
the minimum header size, simply delete the access log and
recreate it instead of returning ShortReadExceptions later

Change-Id: I62ed2c120341ff0ba30c2ca7d096cd76fdf6e039
Reviewed-on: http://review.couchbase.org/32868
Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
MB-9939: worker stats fix, debug for MB-9675

Move tasklog and slow log to the taskQueue so that worker
stats are consistent and allows debugging of low disk utilization
seen in MB-9675
Change-Id: I9184a5b87ea91eebc3db0e7c14b7e406245ea468
Reviewed-on: http://review.couchbase.org/32887
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
MB-10027 - remove task mutex from GlobalTask

Replace with AtomicValue
This is meant to be the first of multiple changes to reduce
the locking overhead of the Global Thread Pool modules

Change-Id: I4f8cd42a786a389b36580d05adfbf327537ff9a5
Reviewed-on: http://review.couchbase.org/32976
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
MB-9957: Add NRU to mutation packet

Change-Id: I0c1d2c67d1a8d03ec3609e742ad6b15eb718f411
Reviewed-on: http://review.couchbase.org/32690
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Make sure all ConnHandlers have a Connection object

This will allow us to be able to set the logHeader() function to
allow us to better categorize upr and tap log messages.

Change-Id: Ib61cc3f388fc536d5a4f6739e89bca7a286a200d
Reviewed-on: http://review.couchbase.org/32824
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
Refactor the failover log

This change should make things simpler and also adds some
documentation to the failover log header file.

Change-Id: I0b69465f56efb604f97cccf3692217302420d380
Upr consumer should persist failover log on stream creation

Change-Id: I79fb5494c649e8bec5a1a0665b6c2545017cd256
Parallelize creation of vbuckets during warmup

Right now we create all vbuckets during warmup from the same
thread. We also call the initVBuckets function multiple times
during wamrup and although we will only create the vbuckets once
calling this function over and over again is unnecessary. This
change introduces a new warmup state for creating vbuckets.

Change-Id: If0b49d618408f646492168c39a59d7aa34b07b50
Don't create a failover entry after a clean shutdown

We are only required to create new failover entries after a crash
so we should check to see if that happened before creating one
during warmup.

Change-Id: I128eceaca719f6e44e683e17223445a8b328cad5
MB-9892: Add correct vb uuid and high seqno to consumer stream req

Change-Id: I7d26fc7a55b4e86f85603b99e26c9d1c3dac6246
Add more upr info log messages for better debugging

Change-Id: I21a802b8f041376c1df6b138173c0053b15e0843
Make sure upr mutation/deletion messages by_seqno's increase

Change-Id: I6837d68fdfc798c5e4203080f271c62137acaaf4
MB-9974: Close a stream if the vbucket state changes

Change-Id: Ib17f813e7249e9ae85ed8166e0269cf7a48789c7
Fix the persistence number stuff

Change-Id: I6b8ea20547fff28353042979b9c750c39b2f76f7