Skip to content

kvstore: help to maintain external indexes #361

Description

@nrc

The use case is that the user requires a specific index implementation which is either totally outside the store or stored in a Singleton and when they update a table, they also maintain the index. It would be nice to be able to do provide help in doing this so that the code can execute as part of the transaction, changes are supplied in convenient form, and/or some other way to make maintaining the index easier.

Some possible solutions: having a commit_with method which takes a function which operates on the transaction's change set and is executed between the commit check and the actual commit, or custom indexes where the user supplies the index implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions