Skip to content

Require the FFI to explicitly track revisions #1008

@alarso16

Description

@alarso16

Rather unintuitively, in concurrent contexts, there is no way to guarantee that revision won't be removed from the revision manager during use, since Rust cannot accurately count the number of references in use. This is currently handled relatively gracefully by returning an error upon the next use, but it would be ideal if the FFI supported holding a revision in use, even if it could be evicted due to age.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgoPull requests that update go codeneeds more infoThis task needs more information in order to be prioritized.rustPull requests that update rust code

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions