Skip to content

Commit 701ac62

Browse files
committed
Document delayed compression restart recovery
1 parent 76799ef commit 701ac62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/snapshot/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Compression runs **asynchronously after the snapshot is already durable on disk*
5959
- Standby can return successfully while compression is still running in the background.
6060
- For standby only, Hypeman can wait for a configured grace period before starting that background compression.
6161
- During that delay window, the raw memory snapshot remains in place so resume can skip decompression entirely.
62+
- If Hypeman restarts during that delay window, it rebuilds the pending standby compression job from instance metadata and either resumes waiting for the remaining delay or starts compression immediately once the `not_before` time has passed.
6263
- That means a later restore can arrive before compression has finished.
6364
- While compression is running, the snapshot remains valid and reports `compression_state=compressing`.
6465
- Once finished, the snapshot reports `compression_state=compressed` and exposes compressed/uncompressed size metadata.

0 commit comments

Comments
 (0)