1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-02 06:13:16 +03:00

Just a debug logging telling that no locks remain

This commit is contained in:
Alexander Presnyakov
2025-09-18 13:03:59 +00:00
parent 7d4028729b
commit 4422cf04b2

View File

@@ -109,6 +109,8 @@ def release_shmem_locks(logger: logging.Logger, max_iterations: int = 5) -> bool
active_total = sum(s.readers + s.writers for s in states) active_total = sum(s.readers + s.writers for s in states)
waiting_total = sum(s.readers_waiting + s.writers_waiting for s in states) waiting_total = sum(s.readers_waiting + s.writers_waiting for s in states)
if active_total == 0 and waiting_total == 0: if active_total == 0 and waiting_total == 0:
attempts_descr = "" if not attempt else f" after {attempt} attempts"
logger.info('No active or waiting shmem locks remain%s', attempts_descr)
return True return True
logger.debug( logger.debug(