mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-10 03:09:35 -06:00
call fdCache.ShrinkCache to close unreferenced files
This commit is contained in:
@@ -221,6 +221,12 @@ func (ftp *fsTablePersister) PruneTableFiles(ctx context.Context, contents manif
|
||||
return err
|
||||
}
|
||||
|
||||
err = ftp.fc.ShrinkCache()
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, info := range fileInfos {
|
||||
if info.IsDir() {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user