Skip to content

Prevent eviction of held locks from JDBC registry #11041

Description

@artembilan

The logic with:

				protected boolean removeEldestEntry(Entry<String, JdbcLock> eldest) {
					return size() > JdbcLockRegistry.this.cacheCapacity;
				}

may lead to the case when still held lock is evicted.

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions