Skip to content

Dropping dbi in nested aborted txn invalidates the dbi in the parent txn #289

@capr

Description

@capr

Hi Leonid, quick question. From testing it seems that dropping a dbi in a nested aborted txn invalidates the dbi in the parent txn. Even if I reopen or recreate the dbi inside the nested txn, the dbi is still invalid in the parent txn after. Is this behavior expected? I get that this is an edge case but I'm writing a language binding and I'd like the semantics of an aborted txn to be such that it can't mess up the context around it. It seems like the only way to fix this in user code is to track dropped dbs and reopen them on abort. Does that sound right?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions