Skip to content

Commit 3489f0a

Browse files
committed
Correct invalid monitoring variables
1 parent 4280fce commit 3489f0a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

storage/innobase/srv/srv0mon.cc

+8-8
Original file line numberDiff line numberDiff line change
@@ -1209,49 +1209,49 @@ static monitor_info_t innodb_counter_info[] =
12091209
"Number of stock pages that been read"
12101210
" (innodb_nvdimm_pages_read_st)",
12111211
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1212-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_ST},
1212+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_READ_ST},
12131213

12141214
{"innodb_nvdimm_pages_read_ol", "server",
12151215
"Number of order-line pages that been read"
12161216
" (innodb_nvdimm_pages_read_ol)",
12171217
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1218-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_OL},
1218+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_READ_OL},
12191219

12201220
{"innodb_nvdimm_pages_read_od", "server",
12211221
"Number of orders pages that been read"
12221222
" (innodb_nvdimm_pages_read_od)",
12231223
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1224-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_OD},
1224+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_READ_OD},
12251225

12261226
{"innodb_nvdimm_pages_read_no", "server",
12271227
"Number of new-orders pages that been read"
12281228
" (innodb_nvdimm_pages_read_no)",
12291229
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1230-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_NO},
1230+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_READ_NO},
12311231

12321232
{"innodb_nvdimm_pages_written_st", "server",
12331233
"Number of stock pages that been written"
12341234
" (innodb_nvdimm_pages_written_st)",
12351235
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1236-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_ST},
1236+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_WRITTEN_ST},
12371237

12381238
{"innodb_nvdimm_pages_written_ol", "server",
12391239
"Number of order-line pages that been written"
12401240
" (innodb_nvdimm_pages_written_ol)",
12411241
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1242-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_OL},
1242+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_WRITTEN_OL},
12431243

12441244
{"innodb_nvdimm_pages_written_od", "server",
12451245
"Number of orders pages that been written"
12461246
" (innodb_nvdimm_pages_written_od)",
12471247
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1248-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_OD},
1248+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_WRITTEN_OD},
12491249

12501250
{"innodb_nvdimm_pages_written_no", "server",
12511251
"Number of new-orders pages that been written"
12521252
" (innodb_nvdimm_pages_written_no)",
12531253
static_cast<monitor_type_t>(MONITOR_EXISTING | MONITOR_DEFAULT_ON),
1254-
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_STORED_NO},
1254+
MONITOR_DEFAULT_START, MONITOR_OVLD_SRV_NVDIMM_PAGES_WRITTEN_NO},
12551255
#endif /* UNIV_NVDIMM_CACHE */
12561256

12571257
{"innodb_page_size", "server",

0 commit comments

Comments
 (0)