You've already forked mariadb-columnstore-engine
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:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user