Commit a61a4a8
authored
fix: do not delete existing object on upload (#5778)
This increases performance for concurrent writes for azure and gcs
backends as they had the check inside lock. For all backends this
reduces the number of roundtrips to backend needed. For the blob
backends the writes atomically overwrites any existing blob. So this
should be faster and safer, there is otherwise a short window of time
where no blob exists which could lead to unexpected results for reads.
This PR have have been tested with
#5779, see it for example and
timings.
---
TYPE: IMPROVEMENT
DESC: Reduce latency of object storage uploads1 parent a21dc5b commit a61a4a8
3 files changed
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1115 | 1115 | | |
1116 | 1116 | | |
1117 | 1117 | | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | 1118 | | |
1124 | 1119 | | |
1125 | 1120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1034 | 1034 | | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | 1037 | | |
1043 | 1038 | | |
1044 | 1039 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
1234 | 1230 | | |
1235 | 1231 | | |
1236 | 1232 | | |
| |||
0 commit comments