MB-8955 Prevent ExTask starvation: order by taskId

Change-Id: Ib75d92a1e64ca85843e688ebe23579841c23f4d7
Reviewed-on: http://review.couchbase.org/28550
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-8960 New operational stats for setWithMeta ops

1) ep_num_ops_get_meta_on_set_meta
 Number of get_meta ops spawn due to set_with_meta operations

2) set_with_meta
 Latency timing histogram for set_with_meta operations

Change-Id: I75a22c1ffd479da8a0bdad8a1881b93896a32235
Reviewed-on: http://review.couchbase.org/28588
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-8992: Unlock a locked key when deleting with the proper cas

Change-Id: I057c290c40301fb4cd8667d7752abf2cfd778690
Reviewed-on: http://review.couchbase.org/28645
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-8530 Non-blocking checkpoint stats call for all vbuckets

We saw that the timings of checkpoint stats call for all vbuckets
was ranged from 16ms to 262ms, which seems quite high. These
checkpoint stats are frequently requested by the cluster manager
during cluster rebalance. This change supports the non-blocking
checkpoint stats call for all vbuckets, so that the worker threads
can process other requests while the stats call is being processed
by the NON-IO dispatcher.

Change-Id: Ie472597c31aa13db1d9ae49855fb29a91314857d
Reviewed-on: http://review.couchbase.org/28554
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
MB-9015 Return the items CAS value from touch

Change-Id: Ie9a5d3f8a520c7f7553cfa990270b1464534ce78
Reviewed-on: http://review.couchbase.org/28569
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
MB-9000 Retry open_db operation with the create option.

When an open_db operation without a create option fails
with FILE_NOT_FOUND error constantly, we should open a database
file with a create option to support subsequent read / write
operations.

Change-Id: I30dac3f0d7dda1c32c99bdebb4a99aef09c8a577
Reviewed-on: http://review.couchbase.org/28717
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Merge remote-tracking branch 'couchbase/2.1.1'

Change-Id: I6b2971f5d45e897f982b1573e91f603e1689d029