Commit 196ed6b
authored
In almost all cases we write uuid named files via this method.
Preemptively deleting just wastes IO ops, we can delete after a write failed
and retry the write to cover the few cases where we actually do an overwrite.
1 parent 53fa52d commit 196ed6b
File tree
1 file changed
+8
-3
lines changed- server/src/main/java/org/elasticsearch/common/blobstore/fs
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
180 | 186 | | |
| 187 | + | |
181 | 188 | | |
182 | | - | |
183 | | - | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
0 commit comments