Description
The local metastorage allow to write raw data. For example, distributed metastorage writes it:
metastorage.writeRaw(cleanupGuardKey(), DUMMY_VALUE);
System view iterator fails on such entries:
[2020-09-10 14:34:37,556][WARN ][test-runner-#1%metric.SystemViewSelfTest%][GridCacheDatabaseSharedManager] Metastore iteration error class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@18b4aac2 at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:132) at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:139) at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:80) at org.apache.ignite.internal.processors.cache.persistence.metastorage.MetaStorage.applyCallback(MetaStorage.java:387) at org.apache.ignite.internal.processors.cache.persistence.metastorage.MetaStorage.iterate(MetaStorage.java:359) at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.lambda$registerSystemView$1(GridCacheDatabaseSharedManager.java:415) at org.apache.ignite.internal.managers.systemview.SystemViewAdapter.iterator(SystemViewAdapter.java:82) at org.apache.ignite.internal.util.lang.GridFunc.find(GridFunc.java:2068) at org.apache.ignite.internal.metric.SystemViewSelfTest.testMetastorage(SystemViewSelfTest.java:1155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridAbstractTest.java:2373) at java.lang.Thread.run(Thread.java:748)
Attachments
Issue Links
- relates to
-
IGNITE-13409 System view for metastorage items
- Resolved
- links to