JDBC Configuration does not upgrade to write locks

Description

READ locks are not upgraded to WRITE locks before modifying the GeoServer catalog when using the JDBC Configuration plugin because the LockingCatalogFacade is set in the CatalogImpl constructor. This should be moved to the CatalogImpl.setFacade(CatalogFacade) method, which appears to be used only by JDBC Configuration, and the constructor should be modified to set the facade using that method.

Environment

None

Status

Assignee

Unassigned

Reporter

Steve Ikeoka

Triage

None

Fix versions

Affects versions

2.12.2
2.13-RC1

Components

Priority

Medium
Configure