You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2024/02/21 15:10:00 UTC
[jira] [Created] (IGNITE-21585) Disable catalog compaction
Andrey Mashenkov created IGNITE-21585:
-----------------------------------------
Summary: Disable catalog compaction
Key: IGNITE-21585
URL: https://issues.apache.org/jira/browse/IGNITE-21585
Project: Ignite
Issue Type: Improvement
Reporter: Andrey Mashenkov
Catalog compaction is not synchronized with transactions on nodes.
There are a bunch of issues:
* We expect Catalog compaction should be called for minimal LWM on all the nodes. But LWM is node-local value.
* Recovery RW transaction may require old catalog version to get list of indexes, that should be updated.
* incoming snapshot may require outdated version of catalog in some cases.
* LWM wait for RO transaction, but not RW.
So,
1. Let's just do nothing with catalog history on compaction.
2. Let's update some key with node id, and node should react on own updates only and skip updates from other nodes. On the key update event, node should trigger destroy event for table/index, which are under the LWM.
We can't trigger local events on LWM change, because we need a causality token for VV in several components.
2. Fix recovery procedure if needed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)