Commit c6892f1
committed
Fix errors on table close with ongoing merges
The merging run finalise was closing input runs before aborting the
ongoing merge. When nothing else was holding the input runs open (like
the levels cache) then this was resulting in trying to delete the run
files while the run readers (in the merge) still had their own open file
handles for the same files. This resulted in test failures with the
MockFS and would have also failed on Windows filesystems (which do not
allow deleting files where there are still open file handles).1 parent 9607654 commit c6892f1
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
| 227 | + | |
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
| |||
0 commit comments