Parent summary does not exist to reference by handle
There is a document failing to summarize with the error "Parent summary does not exist to reference by handle."
This error occurs while uploading the summary, and it indicates there are summary handle nodes in the tree, but the summary context has an undefined proposal handle. This shouldn't be possible, so we can make it fail faster by asserting sooner when this happens and/or figuring out the cause.
This was caused by the server accepting a summary without sending a summary ack. Changed so that this is mitigated by rerunning in safe mode on nack or error generating summary. Previously we only retried on nack. After 0.15 we don't necessarily get to the nack, since we use paths we can hit an earlier error in the driver.
Found another root cause for this issue, will track in issue #1900, since it also can cause that.