Commit d5e12c6
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 460333d commit d5e12c6
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 | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
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 | 1062 | | |
1098 | 1063 | | |
1099 | 1064 | | |
| |||
1186 | 1151 | | |
1187 | 1152 | | |
1188 | 1153 | | |
1189 | | - | |
1190 | 1154 | | |
1191 | 1155 | | |
1192 | 1156 | | |
| |||
1254 | 1218 | | |
1255 | 1219 | | |
1256 | 1220 | | |
1257 | | - | |
| 1221 | + | |
1258 | 1222 | | |
1259 | 1223 | | |
1260 | 1224 | | |
| |||
0 commit comments