0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

ircd::db::database::events: Use explicitly defined non-sequence index args.

This commit is contained in:
Jason Volk 2023-01-15 17:17:09 -08:00
parent dbf9407442
commit feb7524fe0

View file

@ -2716,7 +2716,6 @@ noexcept
};
char pbuf[8][48];
size_t i(0);
if(!bytes_same)
log::info
{
@ -2725,15 +2724,14 @@ noexcept
info.stats.num_input_records,
info.stats.num_output_records,
info.stats.num_records_replaced,
pretty(pbuf[i++], iec(info.stats.total_input_bytes)),
bytes_same? "same": pretty(pbuf[i++], iec(info.stats.total_output_bytes)),
pretty(pbuf[i++], nanoseconds(info.stats.file_prepare_write_nanos), true),
pretty(pbuf[i++], nanoseconds(info.stats.file_write_nanos), true),
pretty(pbuf[i++], nanoseconds(info.stats.file_range_sync_nanos), true),
pretty(pbuf[i++], nanoseconds(info.stats.file_fsync_nanos), true),
pretty(pbuf[i++], microseconds(info.stats.elapsed_micros), true),
pretty(pbuf[0], iec(info.stats.total_input_bytes)),
bytes_same? "same": pretty(pbuf[1], iec(info.stats.total_output_bytes)),
pretty(pbuf[2], nanoseconds(info.stats.file_prepare_write_nanos), true),
pretty(pbuf[3], nanoseconds(info.stats.file_write_nanos), true),
pretty(pbuf[4], nanoseconds(info.stats.file_range_sync_nanos), true),
pretty(pbuf[5], nanoseconds(info.stats.file_fsync_nanos), true),
pretty(pbuf[6], microseconds(info.stats.elapsed_micros), true),
};
assert(i <= 8);
if(info.stats.num_corrupt_keys > 0)
log::critical