Server.js icon indicating copy to clipboard operation
Server.js copied to clipboard

Error when chaining composite data souces

Open pheyvaer opened this issue 8 years ago • 5 comments

Server configuration chains two composite data sources: composite data source A refers to composite data source B. Composite data source B refers to 1 HDT data source and 2 Turtle data sources.

The following SPARQL query executed via the ldf-clientagainst data source A results in a 502 after a certain amount of results have returned.

SELECT ?s ?n WHERE {?s <http://schema.org/name> ?n}

When executing this query directly against data source B or the HDT data source no error occurs.

pheyvaer avatar Aug 07 '17 06:08 pheyvaer

The QPF branch contains fixes for this (831bd4231e46f8185c12d836904914efa5d82494) and other related issues (https://github.com/LinkedDataFragments/Server.js/commits/feature-qpf-latest/lib/datasources/CompositeDatasource.js).

@RubenVerborgh Should we backport these fixes? Or just wait until the 3.0.0 release?

rubensworks avatar Aug 07 '17 11:08 rubensworks

If we can backport with cherry-pick, I suggest to add this to develop. If not, @pheyvaer, is it a problem for you to work with the feature-qpf-branch?

RubenVerborgh avatar Aug 07 '17 14:08 RubenVerborgh

@RubenVerborgh At the moment it is not an urgent fix. I've circumvented the problem by replacing composite data source A by A' that refers to the data sources from B. So a bit of duplicate configuration is added, but it is not a showstopper.

pheyvaer avatar Aug 07 '17 14:08 pheyvaer

@RubenVerborgh It won't be a clean cherry-pick, because the datasource is already graph-based at that point.

rubensworks avatar Aug 07 '17 14:08 rubensworks

Let's not do it then.

RubenVerborgh avatar Aug 07 '17 14:08 RubenVerborgh