This solves the following issue with failing cluster verify operations. As this function declared to modify the configuration by taking an exclusive lock, the configuration serial number changed during verify operations, which in turn caused to fail other concurrently running checks.
The mistake has been present in previous versions as well, but only causes problems in 2.12 where each configuration write is explicitly tracked. Signed-off-by: Petr Pudlak <[email protected]> --- lib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.py b/lib/config.py index f49278b..8e6c322 100644 --- a/lib/config.py +++ b/lib/config.py @@ -1272,7 +1272,7 @@ class ConfigWriter(object): self._ConfigData().cluster.highest_used_port = port return port - @_ConfigSync() + @_ConfigSync(shared=1) def ComputeDRBDMap(self): """Compute the used DRBD minor/nodes. -- 2.2.0.rc0.207.ga3a616c
