Introduction

What is not there yet

A consolidated list of the things Raft DB does not do today, with the page of this manual that explains each.

This list is meant to save you a failed evaluation. Every item is taken from the code, the tests or the decision log. Items marked refused return a MySQL error (usually 1235, "doesn't yet support ...") so that nothing is silently ignored.

Security#

  • No TLS on the binary protocol, replication, watcher peers and webhooks (the MySQL, MariaDB, SQL Server and PostgreSQL client connections have it, and the HTTP API has it on a separate https-addr port). See TLS and encryption.
  • raftdb-server accounts are given on the command line or in the settings file; they are not stored in the database and are not replicated.
  • MariaDB's ed25519, parsec and gssapi authentication plugins are not offered.
  • Refused: ACCOUNT LOCK, PASSWORD EXPIRE, REQUIRE SSL/X509, resource limits, roles, proxy grants, routine privileges, IDENTIFIED BY RANDOM PASSWORD.
  • The dynamic global privileges (SYSTEM_VARIABLES_ADMIN and the like) are not known. mysql.user and mysql.db are not provided; use SHOW GRANTS.

Transactions and locking#

  • Isolation is by table claims (READ-COMMITTED, one table at a time, one front-end process): no dirty reads and no lost updates, but no repeatable reads or snapshot reads, a long transaction holds up everybody who needs its tables, and FOR UPDATE, LOCK IN SHARE MODE and LOCK TABLES lock nothing of their own. A crash of the front-end in the middle of a transaction leaves what had been written. See Consistency guarantees.
  • Server-side cursors (COM_STMT_FETCH) are refused.

SQL#

  • Stored events, ALTER FUNCTION and ALTER PROCEDURE, ALTER DATABASE and several other administrative statements are not supported; every documentation example of the real manuals was run on MySQL and on Raft DB and put in a class (SAME, DIFF, UNSUPPORTED). That coverage run was made earlier than the newest decisions, so the lists in this manual are the current state.
  • Triggers: the BEFORE triggers of the update that ON DUPLICATE KEY UPDATE makes, multi-table DELETE, triggers on views are not done.
  • WITH CHECK OPTION of views is stored but not enforced.
  • Refused with error 1235 by the parser (checked in sql.rs): full-text and spatial indexes, PARTITION BY in CREATE TABLE and ALTER TABLE, LOAD DATA INFILE, SELECT ... INTO OUTFILE, SET PERSIST, EXPLAIN ANALYZE, LIKE ... ESCAPE, FETCH FIRST ... WITH TIES, window frames in GROUPS mode, parenthesised joins, a binary or case-sensitive COLLATE, and the statement RENAME TABLE (only RENAME USER is parsed). The GEOMETRY column type is refused by name.
  • The mysql, performance_schema and sys schemas are not real databases.
  • Functions called in a statement may not take columns as arguments when they are stored functions (refused as unsupported).

Storage#

  • No backup tool, no point-in-time recovery, no log archiving. See Backup and recovery.
  • No compaction or checkpoint while a table serves writes: a checkpoint on demand makes the table unavailable for its duration.
  • Persisted index runs: indexes are rebuilt at open on the in-memory engine.
  • No file lock on the data directory.
  • Each node of a cluster holds a whole copy of every replicated table; there is no tiering and no distributed query.
  • A thread pair per connection: one server cannot hold a million idle connections yet.

Replication and clusters#

  • The data log does not go through Raft; Raft decides who is primary, log shipping moves the data. See Status: built and open.
  • No replication of accounts; no multi-master with conflict resolution; no cross-partition transactions; no online split or merge of partitions; changing the number of groups of a running cluster is not supported.
  • Reads from followers are not offered in table-group mode: requests for tables led by another node are forwarded.

Operations#

  • No Windows service (a startup task is used); no deb, rpm or MSI packages.
  • HTTPS webhooks in the watcher: not built (use notify_command with curl).
  • The project's records describe benchmarks on a development PC; the reference Linux host with NVMe and 16 cores is not fixed.

See also#