Grab exclusive lock on catalog only when actually writing

Description

The current configuration lock machinery grabs lock any time a request migth write on the catalog (e.g., on all UI ones for example). Modify it so that it grabs a read lock that will be upgraded to write lock only when actually writing on the catalog.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Priority

Medium
Configure