ContentDataStore inefficient verification of available content entries

Description

The code now scans all the source feature types names for each getFeatureSource against a not yet used FeatureType (e.g., for 1000 feature types, calling in order getFeatureSource on each of the feature types, causes 1000 calls to createTypeNames(), or in other terms, scanning and checking 1 million type names).

Environment

None

Activity

Show:
Simone Giannecchini
June 15, 2015, 8:08 AM
Edited

Cool, then I'll reopen it and I'll mark it for backport.

Andrea Aime
June 15, 2015, 7:42 AM

Not right now, apparently on the build server this is causing some OOM errors in the online build. I guess that user can access way too many tables (tens of thousands)

Simone Giannecchini
June 15, 2015, 7:39 AM

Is this something we can backport?

Jody Garnett
June 12, 2015, 9:15 PM

Thanks for the fix Andrea

Assignee

Unassigned

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium