pub fn merge_history(
stored: Option<&Value>,
writer: Option<&Value>,
) -> Option<Value>Expand description
Union of two copies of one entry’s version_history, newest first, capped at 50.
History is append-only. A writer’s copy of an entry carries the history it read, so when it saves a row that did not change (a retried PUT, two clients arriving at the same value) or one that changed while another writer rotated a secret in between, replacing the stored history with that copy erased the other writer’s record of the old secret, with no conflict raised. Records are identified by their whole content.