Fixed invalid conversion of DynamicCacheDescriptor to StoredCacheData - Fixes
@@ -280,7 +280,7 @@ public class CachesRegistry {
*/
private IgniteInternalFuture<?> persistCacheConfigurations(List<DynamicCacheDescriptor> cacheDescriptors) {
List<StoredCacheData> cacheConfigsToPersist = cacheDescriptors.stream()
- .map(cacheDesc -> new StoredCacheData(cacheDesc.cacheConfiguration()).sql(cacheDesc.sql()))
+ .map(DynamicCacheDescriptor::toStoredData)
.collect(Collectors.toList());
// Pre-create cache work directories if they don't exist.
