MB-100: Remove unused cursorExists function

Change-Id: Ifb1b03594f034a13688f94726538a5b651b4d3bc
Reviewed-on: http://review.couchbase.org/29111
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-9123: Add checkpoint tests back to the Makefile

Since we will be making a bunch of changes to the checkpoint
manager in the near future adding thes back will help make it
easier to add new tests.

Change-Id: I64036319633e4c5a8ecab82d04f3962e121de68b
Reviewed-on: http://review.couchbase.org/29110
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>
CBD-1051 Global IO Manager Common Thread Pool

This changes enhances the global IO manager by introducing the
common shared thread pool and maintaining a global disk read
queue and a write queue per bucket priority (i.e., High, Medium,
Low).
Threads basically visit any disk read or write queues if there
are any IO tasks waiting in the queues. We also allocate more
threads to the buckets that have higher prioirties, but also
prevent the starvation from occuring in the low priority buckets.

Change-Id: Ic44c03250d11b87db7f5497503915bc56a1c7a18
Reviewed-on: http://review.couchbase.org/28409
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Update due to refactor of memcached_ntohll

Change-Id: Ib657c2f5813a2ea7ab33d86c9407a96b23e39be9
Reviewed-on: http://review.couchbase.org/29241
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
CBD-1097: GIO can Limit num of threads on a Queue

GIO Manager can now put a limit on the number of threads
which can pick up Tasks from specific queues.
This feature is currently used to ensure that at most 1 thread
ends up picking up tasks from the AuxIO queue so that we don't
end up in a case where all the threads are working
on the long running cron jobs of the AuxIO queue while there are
other higher priority tasks waiting to run.

Change-Id: I27ba74f0d9f3e0acf03c79604f36b26a53f60f83
Reviewed-on: http://review.couchbase.org/29136
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-9038: AuxIO dispatcher tasks to the global IO

GIO to schedule following tasks to auxIOQueue
- BackfillDiskLoad
- AccessScanner - VBucketVisitorTask
- TapBGFetchCallback
- WarmupStepper

Change-Id: If5196af6996c1dc7ffde041ae4029ee47d171d87
Reviewed-on: http://review.couchbase.org/29014
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-9173: Refactoring code in IOManager module

Change-Id: Ide088a95a85012e82dad51927d9228b3128a30ff
Reviewed-on: http://review.couchbase.org/29178
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Remove the checkpoint extension command

This was part of maintainence mode in 1.8.x and is not longer
supported in the 2.x series of Couchbase.

Change-Id: Iedbc87af2d006915aa811f6eac32c5282673ccc9
Reviewed-on: http://review.couchbase.org/29192
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>