Fixed missing typeId for indices configured using CacheTypeMetadata, which could lead to "Releasing write lock on a page that was not locked" exception.
@@ -435,6 +435,8 @@ public class GridQueryProcessor extends GridProcessorAdapter {
if (altTypeId != null)
types.put(altTypeId, desc);
+ desc.typeId(typeId.valType != null ? typeId.valType.getName().hashCode() : typeId.valTypeId);
+
desc.registered(idx.registerType(ccfg.getName(), desc));
}
}
