if (vg != null && clusterStream.isDirty())
new Exception("Internal error: virtual transaction committed changes into core (" + request + ")").printStackTrace();
-// long start = System.nanoTime();
- if (null == vg) {
- clusterStream.reallyFlush();
- // This was fired just before in handleUpdatesAndMetadata
-// if (!writeOnly)
-// session.fireMetadataListeners(graph, cs);
- } else
- clusterStream.clear();
-
-// long duration = System.nanoTime() - start;
-// System.out.println("reallyFlush " + 1e-9*duration + "s. ");
+ // This is needed even when the write targets a virtual graph -
+ // deny can always remove a persistent statement.
+ clusterStream.reallyFlush();
session.clientChanges = new ClientChangesImpl(session);