Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The first implementation of the flashback feature only reverts DML based statements up to a point where a DDL statement was executed.
For the support of DDL changes in the server are needed.
- For ADD INDEX/COLUMN, or CREATE TABLE query, just drop the index, column, table when running Flashback.
- For DROP INDEX/COLUMN, or DROP TABLE query, will copy or rename the old table to a reserved database. When Flashback is running, I can drop new table, and rename the saved old table to original database.
- For TRUNCATE table, I just rename old table to reserved database and create a new empty table.
Attachments
Issue Links
- blocks
-
MDEV-10459 Port Time Machine/Flashback Feature to MariaDB
-
- Open
-
- relates to
-
MDEV-14745 Documentation mentions that we will be able to flashback a TRUNCATE or DROP
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Parent | MDEV-10459 [ 57519 ] | |
Issue Type | Technical task [ 7 ] | Task [ 3 ] |
Fix Version/s | 10.2 [ 14601 ] |
Epic Link | MDEV-10459 [ 57519 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.3 [ 22126 ] |
Link | This issue blocks MDEV-10459 [ MDEV-10459 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 76675 ] | MariaDB v4 [ 130516 ] |
RocksDB has persistent snapshots that make this trivial to implement for MyRocks assuming dictionary tables use MyRocks.
http://rocksdb.org/blog/2015/11/10/use-checkpoints-for-efficient-snapshots.html