|
278 | 278 | "Number of checkpoint bytes written"}, |
279 | 279 | {checkpoints_promoted, ?C_RA_LOG_CHECKPOINTS_PROMOTED, counter, |
280 | 280 | "Number of checkpoints promoted to snapshots"}, |
| 281 | + {major_compactions, ?C_RA_LOG_COMPACTIONS_MAJOR_COUNT, counter, |
| 282 | + "Number of requested major compactions"}, |
| 283 | + {major_compaction_segments_written, |
| 284 | + ?C_RA_LOG_COMPACTIONS_SEGMENTS_WRITTEN, counter, |
| 285 | + "Number of segments written during major compactions"}, |
| 286 | + {major_compaction_segments_compacted, |
| 287 | + ?C_RA_LOG_COMPACTIONS_SEGMENTS_COMPACTED, counter, |
| 288 | + "Number of segments compacted during major compactions"}, |
281 | 289 | {reserved_1, ?C_RA_LOG_RESERVED, counter, "Reserved counter"} |
282 | 290 | ]). |
| 291 | + |
283 | 292 | -define(C_RA_LOG_WRITE_OPS, 1). |
284 | 293 | -define(C_RA_LOG_WRITE_RESENDS, 2). |
285 | 294 | -define(C_RA_LOG_READ_OPS, 3). |
|
295 | 304 | -define(C_RA_LOG_CHECKPOINTS_WRITTEN, 13). |
296 | 305 | -define(C_RA_LOG_CHECKPOINT_BYTES_WRITTEN, 14). |
297 | 306 | -define(C_RA_LOG_CHECKPOINTS_PROMOTED, 15). |
298 | | --define(C_RA_LOG_RESERVED, 16). |
| 307 | +-define(C_RA_LOG_COMPACTIONS_MAJOR_COUNT, 16). |
| 308 | +-define(C_RA_LOG_COMPACTIONS_SEGMENTS_WRITTEN, 17). |
| 309 | +-define(C_RA_LOG_COMPACTIONS_SEGMENTS_COMPACTED, 18). |
| 310 | +-define(C_RA_LOG_RESERVED, 19). |
299 | 311 |
|
300 | 312 | -define(C_RA_SRV_AER_RECEIVED_FOLLOWER, ?C_RA_LOG_RESERVED + 1). |
301 | 313 | -define(C_RA_SRV_AER_REPLIES_SUCCESS, ?C_RA_LOG_RESERVED + 2). |
|
0 commit comments