You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2021/12/23 13:14:00 UTC
[jira] [Created] (IGNITE-16206) Add type assertions to PageIO implementations
Roman Puchkovskiy created IGNITE-16206:
------------------------------------------
Summary: Add type assertions to PageIO implementations
Key: IGNITE-16206
URL: https://issues.apache.org/jira/browse/IGNITE-16206
Project: Ignite
Issue Type: Improvement
Components: general
Reporter: Roman Puchkovskiy
Assignee: Roman Puchkovskiy
Fix For: 2.13
There were cases when due to bugs a page was updated by wrong PageIO implementation (i.e. an implementation that works with pages of type that is different from the page type). This was causing page corruption. Sometimes such a corruption remains unnoticed for some time and causes other problems.
The idea presented here is to assert page type in all page mutators so that a bug manifests itself as early as possible.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)