Specification
VaultInternal currently has a remote boolean that indicates whether the vault has been cloned from some other node (i.e. it has an initial remote vault that it has been cloned from). This is also currently an indicator of whether a vault is immutable: cloned vaults are immutable. Previously, this information was stored solely in the metadata database, so any attempted commit to the vault would need to perform a database read to ensure that the vault was mutable.
There was previously some discussion on expanding this remote boolean to store some additional vault metadata for other optimisation purposes. We should keep this in mind for potential expansions to VaultInternal.
Additional context
Tasks
- ...
- ...
- ...
Specification
VaultInternalcurrently has aremoteboolean that indicates whether the vault has been cloned from some other node (i.e. it has an initial remote vault that it has been cloned from). This is also currently an indicator of whether a vault is immutable: cloned vaults are immutable. Previously, this information was stored solely in the metadata database, so any attempted commit to the vault would need to perform a database read to ensure that the vault was mutable.There was previously some discussion on expanding this
remoteboolean to store some additional vault metadata for other optimisation purposes. We should keep this in mind for potential expansions toVaultInternal.Additional context
remotefield (and some other potential parameters for it): No longer preserve vault ID oncloneVault#253 (comment)remotefield is only a boolean now, and suggestions for how/when it could be expanded upon: Introducing vault sharing and the restrictions of pulling and cloning with vault permissions #266 (comment)Tasks