jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5622) RDBDocumentStore: improve logic that decides whether to try string appends
Date Thu, 09 Feb 2017 15:32:41 GMT

     [ https://issues.apache.org/jira/browse/OAK-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julian Reschke updated OAK-5622:
--------------------------------
    Attachment: OAK-5622.diff

Proposed patch (should be benchmarked)

> 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
>         Attachments: OAK-5622.diff
>
>
> 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)

Mime
View raw message