pub const fn encode_epoch(epoch: u64) -> i64
Encode an unsigned RisingWave epoch so that its signed integer ordering is preserved in the log-store primary key.