Fix LTX write error message (#855)

This commit is contained in:
Ben Johnson
2025-11-21 11:55:18 -07:00
committed by GitHub
parent 53f896e195
commit e4e82ee750
2 changed files with 3 additions and 3 deletions

2
db.go
View File

@@ -1149,7 +1149,7 @@ func (db *DB) sync(ctx context.Context, checkpointing bool, info syncInfo) error
}
} else {
if err := db.writeLTXFromWAL(ctx, enc, walFile, pageMap); err != nil {
return fmt.Errorf("write ltx from db: %w", err)
return fmt.Errorf("write ltx from wal: %w", err)
}
}

4
go.mod
View File

@@ -1,8 +1,8 @@
module github.com/benbjohnson/litestream
go 1.24
go 1.25
toolchain go1.24.3
toolchain go1.25.4
require (
cloud.google.com/go/storage v1.36.0