You've already forked mariadb-columnstore-engine
							
							
				mirror of
				https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
				synced 2025-10-31 18:30:33 +03:00 
			
		
		
		
	Merge pull request #3776 from mariadb-corporation/feat/MCOL-6094-savebrm-clean-shmem-locks
Shmem locks: debug loggin 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