feat: reclaim terminal commands atomically
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user