Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.5.0
-
Untriaged
-
Unknown
Description
Build : 6.5.0-4659
Refer to MB-36613 & MB-36616 for the test details. Looking at the Plasma stats, some stats have negative values.
==== StorageStats ====
|
[
|
{
|
"Index": "test:idx1", "Id": 730860754992284375, "PartitionId": 0,
|
"Stats":
|
{
|
"MainStore":
|
{
|
"memory_quota": 18940805773,
|
"punch_hole_support": true,
|
"count": 2911904,
|
"compacts": 1216557,
|
"purges": 0,
|
"splits": 275239,
|
"merges": 106292,
|
"inserts": 2911904,
|
"deletes": 0,
|
"compact_conflicts": 153,
|
"split_conflicts": 204,
|
"merge_conflicts": 0,
|
"insert_conflicts": 866,
|
"delete_conflicts": 0,
|
"swapin_conflicts": 0,
|
"persist_conflicts": 13,
|
"memory_size": 10364866142,
|
"memory_size_index": 8418770331,
|
"allocated": 883064758763,
|
"freed": 872699892621,
|
"reclaimed": 872697328498,
|
"reclaim_pending": 2564123,
|
"reclaim_list_size": 91386387,
|
"reclaim_list_count": 620,
|
"reclaim_threshold": 2,
|
"allocated_index": 13565357631,
|
"freed_index": 5146587300,
|
"reclaimed_index": 5146536017,
|
"num_pages": 168948,
|
"items_count": 100100,
|
"total_records": 435512,
|
"num_rec_allocs": 13261691,
|
"num_rec_frees": 13229986,
|
"num_rec_swapout": 7310177,
|
"num_rec_swapin": 6906370,
|
"bytes_incoming": 143071639532,
|
"bytes_written": 689071841280,
|
"write_amp": 5.37,
|
"write_amp_avg": 4.82,
|
"lss_gc_status": "frag 30, data: 47180392952, used: 68376806167, relocated: 1181884, retries: 93514, skipped: 1013998 log:(620693081321 - 689069887488)",
|
"lss_fragmentation": 31,
|
"lss_data_size": 47180598444,
|
"lss_recoverypt_size": 163840,
|
"lss_maxsn_size": 4096,
|
"lss_used_space": 68381958144,
|
"checkpoint_used_space":16836948085,
|
"lss_num_reads": 4533280,
|
"lss_read_bs": 1129048693619,
|
"lss_blk_read_bs": 1128525692928,
|
"lss_gc_num_reads": 3818866,
|
"lss_gc_reads_bs": 934003504526,
|
"lss_blk_gc_reads_bs": 951519924224,
|
"lss_rdr_reads_bs": 0,
|
"lss_blk_rdr_reads_bs": 0,
|
"cache_hits": 2263810,
|
"cache_misses": 648094,
|
"cache_hit_ratio": 0.60286,
|
"rlss_num_reads": 0,
|
"rcache_hits": 0,
|
"rcache_misses": 0,
|
"rcache_hit_ratio": 0.00000,
|
"resident_ratio": 0.07280,
|
"mvcc_purge_ratio": 4.35077,
|
"currSn": 702388,
|
"gcSn": 702386,
|
"gcSnIntervals": "[0 679274 684430 689581 694763 699961 702387]",
|
"purger_running": false,
|
"mem_throttled": false,
|
"lss_throttled": false,
|
"lss_head_offset": 620693081321,
|
"lss_tail_offset": 689071841280,
|
"num_wctxs": 22,
|
"num_readers": 24,
|
"num_writers": 8,
|
"buf_memused": 94027541,
|
"page_bytes": -1768164427,
|
"page_cnt": 9883,
|
"page_itemcnt": -32575,
|
"avg_item_size": 0,
|
"avg_page_size": -178909,
|
"act_max_page_items": 4,
|
"act_min_page_items": 1,
|
"act_max_delta_len": 100,
|
"est_resident_mem": 145059539213
|
},
|
"BackStore":
|
{
|
"memory_quota": 18940805773,
|
"punch_hole_support": true,
|
"count": 1455952,
|
"compacts": 397990,
|
"purges": 0,
|
"splits": 10994,
|
"merges": 326,
|
"inserts": 1455952,
|
"deletes": 0,
|
"compact_conflicts": 218,
|
"split_conflicts": 125,
|
"merge_conflicts": 0,
|
"insert_conflicts": 467,
|
"delete_conflicts": 0,
|
"swapin_conflicts": 0,
|
"persist_conflicts": 114,
|
"memory_size": 156641206,
|
"memory_size_index": 665123,
|
"allocated": 873821934500,
|
"freed": 873665293294,
|
"reclaimed": 873665293123,
|
"reclaim_pending": 171,
|
"reclaim_list_size": 4100850,
|
"reclaim_list_count": 17,
|
"reclaim_threshold": 1,
|
"allocated_index": 685287,
|
"freed_index": 20164,
|
"reclaimed_index": 20164,
|
"num_pages": 10669,
|
"items_count": 50050,
|
"total_records": 98917,
|
"num_rec_allocs": 20639355,
|
"num_rec_frees": 20620579,
|
"num_rec_swapout": 13803812,
|
"num_rec_swapin": 13723671,
|
"bytes_incoming": 72036012396,
|
"bytes_written": 604006903808,
|
"write_amp": 0.67,
|
"write_amp_avg": 8.38,
|
"lss_gc_status": "frag 30, data: 3463294468, used: 5014716165, relocated: 1311104, retries: 174, skipped: 457203 log:(598983394006 - 603998134272)",
|
"lss_fragmentation": 30,
|
"lss_data_size": 3472333293,
|
"lss_recoverypt_size": 163840,
|
"lss_maxsn_size": 4096,
|
"lss_used_space": 5060292608,
|
"checkpoint_used_space":117,
|
"lss_num_reads": 4086670,
|
"lss_read_bs": 1385731435261,
|
"lss_blk_read_bs": 1155309928448,
|
"lss_gc_num_reads": 2931697,
|
"lss_gc_reads_bs": 965876711861,
|
"lss_blk_gc_reads_bs": 976206221312,
|
"lss_rdr_reads_bs": 402968823967,
|
"lss_blk_rdr_reads_bs": 178933850112,
|
"cache_hits": 1579073,
|
"cache_misses": 579830,
|
"cache_hit_ratio": 0.67939,
|
"rlss_num_reads": 1076305,
|
"rcache_hits": 201652,
|
"rcache_misses": 501299,
|
"rcache_hit_ratio": 0.04545,
|
"resident_ratio": 0.18982,
|
"mvcc_purge_ratio": 1.97636,
|
"currSn": 702388,
|
"gcSn": 702386,
|
"gcSnIntervals": "[0 679274 684430 689581 694763 699961 702387]",
|
"purger_running": false,
|
"mem_throttled": false,
|
"lss_throttled": false,
|
"lss_head_offset": 598983394006,
|
"lss_tail_offset": 604006903808,
|
"num_wctxs": 22,
|
"num_readers": 0,
|
"num_writers": 8,
|
"buf_memused": 91265010,
|
"page_bytes": 207389216,
|
"page_cnt": 553,
|
"page_itemcnt": 20568,
|
"avg_item_size": 10083,
|
"avg_page_size": 375025,
|
"act_max_page_items": 19,
|
"act_min_page_items": 1,
|
"act_max_delta_len": 30,
|
"est_resident_mem": 5929985332
|
}}
|
}
|
]
|
Check the values for the following stats for Mainstore.
"page_bytes": -1768164427,
"page_itemcnt": -32575,
"avg_page_size": -178909,
Attachments
For Gerrit Dashboard: MB-36618 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
117231,3 | MB-36618: Handle page stats when splitting an evicted page | unstable | plasma | Status: MERGED | +2 | +1 |
118017,11 | MB-36618: Avoid double count on swapout records | unstable | plasma | Status: MERGED | +2 | +1 |
118412,1 | MB-36618: Avoid double count on swapout records | master | plasma | Status: MERGED | +2 | +1 |
120961,2 | MB-36618: add unit test for page stats with bulk delete and mvcc purger | unstable | plasma | Status: ABANDONED | 0 | +1 |
136731,3 | MB-36618: Revert PageBytes, ItemCnt, PageCnt calculation | unstable | plasma | Status: MERGED | +2 | +1 |
136753,7 | MB-36618: Compute incremental PageBytes, PageItemCnt, PageCnt using fixed size window | unstable | plasma | Status: MERGED | +2 | +1 |
137064,4 | MB-36618: Add new plasma configuration parameters for page level stats | unstable | indexing | Status: MERGED | +2 | +1 |