Julian Reschke created OAK-5622:
-----------------------------------
Summary: RDBDocumentStore: improve logic that decides whether to
try string appends
Key: OAK-5622
URL: https://issues.apache.org/jira/browse/OAK-5622
Project: Jackrabbit Oak
Issue Type: Technical task
Components: documentmk
Reporter: Julian Reschke
While looking at log output for OAK-5387, it became clear that in at least that
particular test, we are trying updates that we could know in advance to fail.
This is because in this test, all nodes get the same batched appendig updates,
thus their DATA column will exceed the maximum length for all nodes at the same
time.
The correctly working per-document retry logic however immediately tries again
an append, which consequently fails, and only then tries a full rewrite.
We could avoid this by leveraging DSIZE from the DB, currently there only for
debug purposed. We would always fetch it, put it into RDBRow, expose it in
{{Document}} and then make use of in in the decision logic.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)