feat: reclaim terminal commands atomically

This commit is contained in:
2026-08-31 09:56:11 +00:00
parent 611100f67c
commit af9041e1ca
4 changed files with 582 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func Open(ctx context.Context, options Options) (*Store, error) {
if err := ensurePrivateDirectory(options.DataDir); err != nil {
return nil, err
}
for _, child := range []string{"segments", "audit"} {
for _, child := range []string{"segments", "audit", "deleting"} {
if err := ensurePrivateDirectory(filepath.Join(options.DataDir, child)); err != nil {
return nil, err
}