Commit d37c512
authored
* Name Snapshot Data Blobs by UUID
* There is no functional reason why we need incremental naming for these files but
* As explained in #38941 it is a possible source of corrupting the repository
* It wastes API calls for the list operation
* Is just needless complication
* Since we store the exact names of the data blobs in all the metadata anyway, we can make this change without any BwC considerations
* Even on the worst case scenario of a downgrade the functionality would continue working since the incremental names wouldn't conflict with the uuids and the number parsing for finding the next incremental name suppresses the exception when encountring a non-numeric value after the double underscore prefix
1 parent 1980b70 commit d37c512
File tree
1 file changed
+1
-37
lines changed- server/src/main/java/org/elasticsearch/repositories/blobstore
1 file changed
+1
-37
lines changedLines changed: 1 addition & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1064 | 1064 | | |
1065 | 1065 | | |
1066 | 1066 | | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | 1067 | | |
1103 | 1068 | | |
1104 | 1069 | | |
| |||
1191 | 1156 | | |
1192 | 1157 | | |
1193 | 1158 | | |
1194 | | - | |
1195 | 1159 | | |
1196 | 1160 | | |
1197 | 1161 | | |
| |||
1259 | 1223 | | |
1260 | 1224 | | |
1261 | 1225 | | |
1262 | | - | |
| 1226 | + | |
1263 | 1227 | | |
1264 | 1228 | | |
1265 | 1229 | | |
| |||
0 commit comments