pub fn generate_snapshot_id() -> i64Expand description
Generates a random snapshot ID using a cryptographically secure random number generator.
The function generates 8 random bytes and converts them to a positive i64 value. This ensures unique snapshot IDs across the table’s history.