This is ready for another look-over. Here's the gist:
Writing deletions: starting at osm.del(), the deletion values are threaded through into _getDocumentDeletionBatchOp(), which generates a new batch op structure to be passed into osm.batch(), which in turn get fed into kv.batch().
Exposing values on deletions: look in osm.get() and addDocFromNode() in _collectNodeAndReferers().
This is ready for another look-over. Here's the gist:
osm.del()
, the deletion values are threaded through into_getDocumentDeletionBatchOp()
, which generates a new batch op structure to be passed intoosm.batch()
, which in turn get fed intokv.batch()
.osm.get()
andaddDocFromNode()
in_collectNodeAndReferers()
.