Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Snapshot / non-serialisable reads in OptimisticTxDatabase #271

@JadedBlueEyes

Description

@JadedBlueEyes

Is your feature request related to a problem? Please describe.
When comparing the APIs of RocksDB and FoundationDB for parity, I noticed that fjall only supports serialisable reads. Both RDB and FDB support making the distinction within the transaction (get vs get_for_update and snapshot: bool respectively), but fjall seems to always mark reads in the conflict manager.

Describe the solution you'd like
Some form of API exposing this functionality.

Describe alternatives you've considered
I could just fall back to serialised reads, at a potential performance penalty under load, so it's not a particulary high priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions