feat: reclaim terminal commands atomically
This commit is contained in:
1 parent
611100f67c
commit
af9041e1ca
4 files changed
+582
-2
No files matched your search
@@ -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