Removal of a resource does not remove its index data
Hi,
I am probably doing something wrong but after deletion of a resource SPARQL queries still return its data as if it was alive.
The resource is indeed deleted. I get 404 (or 410) when I try to read it.
It is not a timing problem because no matter how long I wait nothing changes.
It may have something to do with history but I try both "single" and "none" modes when creating my storage area and the index is still there in both cases.
I am probably doing something wrong but after deletion of a resource SPARQL queries still return its data as if it was alive.
The resource is indeed deleted. I get 404 (or 410) when I try to read it.
It is not a timing problem because no matter how long I wait nothing changes.
It may have something to do with history but I try both "single" and "none" modes when creating my storage area and the index is still there in both cases.
3 answers
Gleb,
1) there is a known problem with history storage areas. You can track that in this item 148328: Deletion of resources inside a storage area with no history is broken
2) Possibly, this is an instance of this defect: 150774: CreateAndDeleteModels may go in an infinite loop
3) Or even this one 139588: jena tdb index in direct mode seems to still corrupt once in a while
Generally. if you are seeing something that is wrong, i.e. does not conform to the spec, we prefer you to create a defect. We can always mark it as duplicate it that would be the case
hope that answers your question
Simon
1) there is a known problem with history storage areas. You can track that in this item 148328: Deletion of resources inside a storage area with no history is broken
2) Possibly, this is an instance of this defect: 150774: CreateAndDeleteModels may go in an infinite loop
3) Or even this one 139588: jena tdb index in direct mode seems to still corrupt once in a while
Generally. if you are seeing something that is wrong, i.e. does not conform to the spec, we prefer you to create a defect. We can always mark it as duplicate it that would be the case
hope that answers your question
Simon
Hi,
I am probably doing something wrong but after deletion of a resource SPARQL queries still return its data as if it was alive.
The resource is indeed deleted. I get 404 (or 410) when I try to read it.
It is not a timing problem because no matter how long I wait nothing changes.
It may have something to do with history but I try both "single" and "none" modes when creating my storage area and the index is still there in both cases.