Skip to content

Memgraph crashes with The label property index already exists #3436

@lokm01

Description

@lokm01

Memgraph version
3.6.2

Environment
Docker

Describe the bug
The memgraph container keeps restarting itself with the following error:

[2025-11-14 13:11:37.033] [memgraph_log] [info] Recovering metadata of 0 existence constraints.
[2025-11-14 13:11:37.033] [memgraph_log] [info] Metadata of existence constraints are recovered.
[2025-11-14 13:11:37.033] [memgraph_log] [info] Recovering metadata of 0 unique constraints.
[2025-11-14 13:11:37.033] [memgraph_log] [info] Metadata of unique constraints are recovered.
[2025-11-14 13:11:37.033] [memgraph_log] [info] Recovering metadata of 0 type constraints.
[2025-11-14 13:11:37.033] [memgraph_log] [info] Metadata of type constraints are recovered.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Metadata of constraints are recovered.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Recovering metadata.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Recovering TTL data.
[2025-11-14 13:11:37.034] [memgraph_log] [info] TTL data recovered.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Metadata recovered.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Snapshot recovery successful!
[2025-11-14 13:11:37.034] [memgraph_log] [trace] Recovered epoch b00f45e3-d32f-484f-a8b0-40e683d9f513 for db memgraph
[2025-11-14 13:11:37.034] [memgraph_log] [trace] Read wal file /var/lib/memgraph/wal/20251113154411410914_current with following info: storage_uuid: c7a8d1ab-4afe-4999-9e2a-31fdb9444f27, epoch id: b00f45e3-d32f-484f-a8b0-40e683d9f513, from timestamp 1602, to_timestamp 73865, sequence number 0.
[2025-11-14 13:11:37.034] [memgraph_log] [trace] Wal file /var/lib/memgraph/wal/20251113154411410914_current will be used.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Checking WAL files.
[2025-11-14 13:11:37.034] [memgraph_log] [trace] Wal file: /var/lib/memgraph/wal/20251113154411410914_current. Seq num: 0.
[2025-11-14 13:11:37.034] [memgraph_log] [trace] Checking 1st wal file: /var/lib/memgraph/wal/20251113154411410914_current.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Trying to load WAL files.
[2025-11-14 13:11:37.034] [memgraph_log] [info] Trying to load WAL file /var/lib/memgraph/wal/20251113154411410914_current.
[2025-11-14 13:11:37.034] [memgraph_log] [info] WAL file contains 138 deltas.
[2025-11-14 13:11:37.034] [memgraph_log] [critical] Couldn't recover WAL deltas from /var/lib/memgraph/wal/20251113154411410914_current because of: The label property index already exists!
The label property index already exists!

To Reproduce

  • Deploy a fresh instance of memgraph
  • Set mode analytical mode, drop graph
  • Create indexes
  • Import the data via Spark
  • Run couple of ad-hoc queries via memgraph lab
  • Observe memgraph crash

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions