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 2023/10/18 07:41:00 UTC

[jira] [Created] (IGNITE-20680) Move table to RO state when executing DROP TABLE

Roman Puchkovskiy created IGNITE-20680:
------------------------------------------

             Summary: Move table to RO state when executing DROP TABLE
                 Key: IGNITE-20680
                 URL: https://issues.apache.org/jira/browse/IGNITE-20680
             Project: Ignite
          Issue Type: Improvement
            Reporter: Roman Puchkovskiy
             Fix For: 3.0.0-beta2


Currently, when a DROP TABLE command is executed, the table is immediately stopped and its data destroyed.

Instead, we should move the table to a 'read-only' state where it's only accessible for RO transactions which readTimestamp is before the drop timestamp; accordingly, partition RAFT groups should not be stopped and storages destroyed yet.

From the point of view of the Catalog, the table should either be removed from it when executing a DROP TABLE command, or it should be marked as a 'read-only', this should be decided.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)