This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # litestream-pitr-repro.sh | |
| # Reproduces: `restore -timestamp` hangs indefinitely (regression in v0.5.1) | |
| # | |
| # The bug triggers with longer backup history (100+ LTX files). | |
| # This script creates ~60 LTX files which may or may not trigger the bug. | |
| # For reliable reproduction, use a database with longer history. | |
| # | |
| # Usage: | |
| # export LITESTREAM_ACCESS_KEY_ID="your-access-key" |