[Geoserver-devel] [JIRA] (GEOS-8648) Importer concurrent jobs are not limited

Gnafu created an issue

GeoServer / ImprovementGEOS-8648

Importer concurrent jobs are not limited

Issue Type:

ImprovementImprovement

Affects Versions:

2.14-beta

Assignee:

Unassigned

Components:

Importer

Created:

19/Mar/18 11:57 AM

Priority:

MediumMedium

Reporter:

Gnafu

I’m using the GeoServer importer and I noticed I can start as many sessions I want without receiving an error. Some of the sessions will simply go back to a “ready” state without having effect.

After a little digging I foung this class: https://github.com/geoserver/geoserver/blob/master/src/extension/importer/core/src/main/java/org/geoserver/importer/job/JobQueue.java

If I understand it correctly, the queue it’s not actually queuing anything, it’s a direct hand-off, so the jobs will be executed immediately until the thread pool reaches its maximum size.
And since the maximum pool size is Integer.MAX_VALUE I guess I should not start too many sessions at once.

There should be a way to configure the maximum concurrent jobs.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:8c4a688)

Atlassian logo