Internals Binary protocol MP_* MessagePack types Request and response format Keys used in requests and responses Client-server requests and responses Session start and authentication Streams Events and subscriptions Graceful shutdown protocol SQL-specific requests and responses Replication requests and responses Examples MessagePack extensions The DECIMAL type The UUID type The ERROR type The DATETIME type The INTERVAL type File formats Data persistence and the WAL file format The snapshot file format Example The recovery process Replication internals Server startup with replication Orphan status