Details
Description
updateDocument currently attempts to update the document using a String append operation, and if that fails it will retry with a full rewrite.
However, these operations may be conditional on the previous value of MODCOUNT. If this is the case, and the append did not fail with an SQLException, we know that a full rewrite isn't going to work either, thus we can skip the attempt (thus, the outer retry logic will need to refetch the document from storage before retrying).