Replies: 1 comment
-
If it is working with larger batches then this could be an indication of some issues with syncing data to disk. I've found this config https://github.com/nasa/kms/blob/30504da88b43fc08f456e39a79815158267265c0/infrastructure/rdfdb/cdk/docker/scripts/create_repository.sh#L28 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My scenario looks liked this.
DELETE ?s ?p ?o WHERE { ?s ?p ?o }
When I try to delete immediately after, I get this:
{"message":"Error during deletion process","error":"Failed to delete triples: 500: Cannot invoke "String.hashCode()" because the return value of "org.eclipse.rdf4j.model.base.AbstractIRI.stringValue()" is null","stack":"Error: Failed to delete triples: 500: Cannot invoke "String.hashCode()" because the return value of "org.eclipse.rdf4j.model.base.AbstractIRI.stringValue()" is null\n at Runtime.m [as handler] (/var/task/serverless/src/deleteAll/handler.js:25:963)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}%
And I get other 500 errors when I try to fetch. I can't seem to repeat this locally, only in AWS where data dir is a EBS volume. This is a single instance accessing the EBS volume, no scaling. I'm wondering any thoughts on what might be happening. I end up having to recreate the db due to whatever being corrupted. If I increase the page size to insert about 1000 at a time, it works and I don't see any errors.
I'm using RDF4j native store. Configuration looks like this:
cat config.ttl
@Prefix config: tag:rdf4j.org,2023:config/ .
@Prefix rdfs: http://www.w3.org/2000/01/rdf-schema# .
@Prefix xsd: http://www.w3.org/2001/XMLSchema# .
<#kms> a config:Repository;
rdfs:label "kms";
config:rep.id "kms";
config:rep.impl [
config:rep.type "openrdf:SailRepository";
config:sail.impl [
config:sail.type "openrdf:NativeStore"
]
] .
I'm using the latest version of RDF4J 5 spun up in a ECS docker container.
Thanks,
Chris
Beta Was this translation helpful? Give feedback.
All reactions