Closed grechaw closed 7 years ago
Note to @xquery first attempt has led to memory exhaustion on the server.
Reason for that is because cache.size() returns the number of graphs in the cache not the number of triples, so you can bust the cache by adding a large number of triples to one graph.
Implemented a solution to my last comment. Tests all pass with insert data now.
In PR for both 1.0 branch and develop
This refactoring has been done, no functional changes should surface.
In the interest of code path consolidation, we'll use SPARQL update rather than mergeGraph to accomplish the write buffering, which is always inserts and never a locking update.