Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.5.1, 5.0.0
Description
During investigation of slow background fetches on a customer environment, I found that while we record filesystem timings for both read-only and read-write KVStores, we only report the timings for read-write:
void KVStore::addTimingStats(ADD_STAT add_stat, const void *c) { |
|
/* We don't support any timing stats for read-only instances |
* at this point.
|
*/
|
if (isReadOnly()) { |
return; |
}
|
To better assist in analysing read timings, we should also include the read-only instance in the stats (accessed via the kvtimings cbstats group).
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue depends on CBSE-4029 [ CBSE-4029 ] |
Assignee | Dave Rigby [ drigby ] | Sriram Ganesan [ sriram ] |
Link | This issue depends on CBSE-4029 [ CBSE-4029 ] |
Link | This issue relates to CBSE-4029 [ CBSE-4029 ] |
Rank | Ranked higher |
Assignee | Sriram Ganesan [ sriram ] | Dave Rigby [ drigby ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link | This issue blocks MB-25435 [ MB-25435 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Fix Version/s | 5.0.1 [ 14611 ] |
Link | This issue blocks MB-25649 [ MB-25649 ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
VERIFICATION STEPS |
1. Install latest couchbase server and setup the cluster
2. Create bucket and load data to the bucket. 3. Do read and writes on the data 4. Run cbstats command for kvtimings. Validate that we see bot read-write(rw_) and read-only(ro_) stats in the output |
|
Status | Resolved [ 5 ] | Closed [ 6 ] |
Sriram Ganesan Please could you prepare and test patches for both master (targeting Vulcan) and watson branches (targeting a future 4.6.x).