Skip to content

setting :mnesia for Pow breaks non-persistent queΒ #17

@sensiblearts

Description

@sensiblearts

Is there a way to let que know to ignore the :mnesia :dir config that I set for a different process?

I had que working fine along with Pow auth library.

However, I just went to a multi-node setup, and set the :mnesia :dir for Pow, but I do not need to use persistence for que.

It was running fine yesterday after first time using mnesia, but today I get this:

 ** (EXIT) an exception was raised:
        ** (Memento.Error) Transaction Failed with: {:no_exists, Que.Persistence.Mnesia.DB.Jobs}
            (memento) lib/memento/transaction.ex:178: Memento.Transaction.handle_result/1
            (que) lib/que/server_supervisor.ex:72: Que.ServerSupervisor.resume_queued_jobs/0

If I delete the :mnesia :dir contents before starting, the error goes away

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions