Upsert instead of merge in keyvalue and config storage.

Closes #2755831

Merge request reports

Loading