We're updating the issue view to help you get more done. 

StandartQueryCache ignores region_prefix setting

Description

CacheImpl.java

1 2 3 4 5 6 7 8 9 10 if ( settings.isQueryCacheEnabled() ) { final TimestampsRegion timestampsRegion = regionFactory.buildTimestampsRegion( qualifyRegionName( UpdateTimestampsCache.REGION_NAME ), sessionFactory.getProperties() ); updateTimestampsCache = new UpdateTimestampsCache( sessionFactory, timestampsRegion ); final QueryResultsRegion queryResultsRegion = regionFactory.buildQueryResultsRegion( StandardQueryCache.class.getName(), sessionFactory.getProperties() );

qualifyRegionName(...) method doesn't called while building StandartQueryCache, but called while building UpdateTimestampCache. So StandartQueryCache region created without prefix. This could be critical for distributed cache providers.

Environment

None

Status

Assignee

Unassigned

Reporter

Vitali Zarembouski

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.0.11

Components

Affects versions

5.2.10

Priority

Minor