Skip to content

Fix WAL redo when removing table #177

@kTrzcinskii

Description

@kTrzcinskii

When removing table and trying to create table with same name sometime in logs we got:

[2026-01-04T14:51:20Z INFO  client] Starting client with text protocol.
/list

[2026-01-04T14:51:22Z INFO  client::db_client] Sending request: ListDatabases
Databases:
  - db
/connect db

[2026-01-04T14:51:24Z INFO  client::db_client] Sending request: Connect { database_name: "db" }
Connected to database: db
create table users (id int32 primary_key);

[2026-01-04T14:51:30Z INFO  client::db_client] Sending request: Query { database_name: None, sql: "create table users (id int32 primary_key);" }
✔ Query acknowledged by server, executing...
❌ ERROR: executor error: Error occurred while redoing WAL records in cache: invalid page id: 2

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions