Maksim Zhuravkov created IGNITE-26930:
-----------------------------------------
Summary: Catalog. CatalogSerializationCompatibilityTest snapshot
file writes should not perform version checks
Key: IGNITE-26930
URL: https://issues.apache.org/jira/browse/IGNITE-26930
Project: Ignite
Issue Type: Improvement
Components: catalog ai3
Reporter: Maksim Zhuravkov
When `write snapshot files` option is set on the
CatalogSerializationCompatibilityTest, the CatalogSerializationChecker that
writes snapshot files, internally checks serialisation versions. This behaviour
may cause confusion every time a snapshot file is written, because it may a
test failure inside the writeEntry method:
{noformat}
Requested unexpected version for type DESCRIPTOR_TABLE[typeId=28] does not
match. Expected X but got Y
TraceId:3945c550
at
org.apache.ignite.internal.catalog.storage.serialization.UpdateLogMarshallerImpl.marshall(UpdateLogMarshallerImpl.java:)
at
org.apache.ignite.internal.catalog.storage.CatalogSerializationChecker.writeEntry(CatalogSerializationChecker.java:)
at
org.apache.ignite.internal.catalog.storage.CatalogSerializationChecker.checkEntry(CatalogSerializationChecker.java:)
{noformat}
Update CatalogSerializationChecker to not perform version checking when it
writes snapshot files.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)