Commit 410a0ef
fix(core.configuration): make snapshot storage more resilient [backport 5.6.0] (#5991)
* fix(core.configuration): make snapshot storage more resilient
This is a partial backport of the streaming optimization changes
introduced in #5734.
The changes improve memory efficiency during snapshot operations
by utilizing streaming APIs instead of storing multiple copies
of large snapshots in memory, making the snapshot storage process
more resilient to memory constraints.
Signed-off-by: MMaiero <[email protected]>
* Update kura/org.eclipse.kura.core.configuration/src/main/java/org/eclipse/kura/core/configuration/ConfigurationServiceImpl.java
Co-authored-by: Copilot <[email protected]>
* Partial implemented the changes suggested by copilot
Signed-off-by: MMaiero <[email protected]>
* Updated versions and cleanup
Signed-off-by: MMaiero <[email protected]>
* Aligned to develop on the file move
Signed-off-by: MMaiero <[email protected]>
---------
Signed-off-by: MMaiero <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent 2916d45 commit 410a0ef
File tree
3 files changed
+554
-27
lines changed- kura
- distrib/config
- org.eclipse.kura.core.configuration/src/main/java/org/eclipse/kura/core/configuration
- test/org.eclipse.kura.core.configuration.test/src/test/java/org/eclipse/kura/core/configuration
3 files changed
+554
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 55 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
1174 | 1178 | | |
1175 | 1179 | | |
1176 | 1180 | | |
| 1181 | + | |
| 1182 | + | |
1177 | 1183 | | |
1178 | | - | |
1179 | | - | |
1180 | 1184 | | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1181 | 1194 | | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
| 1195 | + | |
1188 | 1196 | | |
1189 | 1197 | | |
1190 | 1198 | | |
1191 | | - | |
1192 | | - | |
1193 | 1199 | | |
1194 | | - | |
| 1200 | + | |
1195 | 1201 | | |
1196 | | - | |
| 1202 | + | |
1197 | 1203 | | |
1198 | | - | |
| 1204 | + | |
1199 | 1205 | | |
1200 | | - | |
| 1206 | + | |
1201 | 1207 | | |
1202 | 1208 | | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
| 1209 | + | |
| 1210 | + | |
1207 | 1211 | | |
1208 | | - | |
1209 | | - | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1210 | 1242 | | |
| 1243 | + | |
1211 | 1244 | | |
1212 | 1245 | | |
1213 | 1246 | | |
| |||
0 commit comments