[jira] [Updated] (OAK-8264) RDBDocumentStore: docs obtained from cache may need revalidation before returned to caller

2019-09-09 Thread Julian Reschke (Jira)


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

Julian Reschke updated OAK-8264:

Description: The cache internally invalidates documents by setting the 
{{lastCheckTime}} to 0. When a document like that is returned from the cache, 
it needs to be rechecked in the persistence. This currently happens for 
{{find()}}, but not for {{getIfCached()}} or internal methods such as 
{{readDocumentCached()}}. This may cause unneeded JDBC roundtrips when a 
document like that indeed changed in the meantime and needs to be updated in 
the database.  (was: The cache internally invalidates documents by setting the 
{{lastCheckTime}} to 0. When a document like that is returned from the cache, 
it needs to be rechecked in the persistence. This currently happens for 
{{find()}}, but not for {{getIfCached()}} or internal methods such as 
{{readDocumentsCached()}}. This may cause unneeded JDBC roundtrips when a 
document like that indeed changed in the meantime and needs to be updated in 
the database.)

> RDBDocumentStore: docs obtained from cache may need revalidation before 
> returned to caller
> --
>
> Key: OAK-8264
> URL: https://issues.apache.org/jira/browse/OAK-8264
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Attachments: OAK-8264.diff
>
>
> The cache internally invalidates documents by setting the {{lastCheckTime}} 
> to 0. When a document like that is returned from the cache, it needs to be 
> rechecked in the persistence. This currently happens for {{find()}}, but not 
> for {{getIfCached()}} or internal methods such as {{readDocumentCached()}}. 
> This may cause unneeded JDBC roundtrips when a document like that indeed 
> changed in the meantime and needs to be updated in the database.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (OAK-8264) RDBDocumentStore: docs obtained from cache may need revalidation before returned to caller

2019-09-09 Thread Julian Reschke (Jira)


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

Julian Reschke updated OAK-8264:

Attachment: OAK-8264.diff

> RDBDocumentStore: docs obtained from cache may need revalidation before 
> returned to caller
> --
>
> Key: OAK-8264
> URL: https://issues.apache.org/jira/browse/OAK-8264
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Attachments: OAK-8264.diff
>
>
> The cache internally invalidates documents by setting the {{lastCheckTime}} 
> to 0. When a document like that is returned from the cache, it needs to be 
> rechecked in the persistence. This currently happens for {{find()}}, but not 
> for {{getIfCached()}} or internal methods such as {{readDocumentsCached()}}. 
> This may cause unneeded JDBC roundtrips when a document like that indeed 
> changed in the meantime and needs to be updated in the database.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (OAK-8264) RDBDocumentStore: docs obtained from cache may need revalidation before returned to caller

2019-09-09 Thread Julian Reschke (Jira)


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

Julian Reschke updated OAK-8264:

Attachment: (was: OAK-8264.diff)

> RDBDocumentStore: docs obtained from cache may need revalidation before 
> returned to caller
> --
>
> Key: OAK-8264
> URL: https://issues.apache.org/jira/browse/OAK-8264
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Attachments: OAK-8264.diff
>
>
> The cache internally invalidates documents by setting the {{lastCheckTime}} 
> to 0. When a document like that is returned from the cache, it needs to be 
> rechecked in the persistence. This currently happens for {{find()}}, but not 
> for {{getIfCached()}} or internal methods such as {{readDocumentsCached()}}. 
> This may cause unneeded JDBC roundtrips when a document like that indeed 
> changed in the meantime and needs to be updated in the database.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Updated] (OAK-8264) RDBDocumentStore: docs obtained from cache may need revalidation before returned to caller

2019-04-24 Thread Julian Reschke (JIRA)


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

Julian Reschke updated OAK-8264:

Attachment: OAK-8264.diff

> RDBDocumentStore: docs obtained from cache may need revalidation before 
> returned to caller
> --
>
> Key: OAK-8264
> URL: https://issues.apache.org/jira/browse/OAK-8264
> Project: Jackrabbit Oak
>  Issue Type: Technical task
>  Components: rdbmk
>Reporter: Julian Reschke
>Assignee: Julian Reschke
>Priority: Major
> Attachments: OAK-8264.diff
>
>
> The cache internally invalidates documents by setting the {{lastCheckTime}} 
> to 0. When a document like that is returned from the cache, it needs to be 
> rechecked in the persistence. This currently happens for {{find()}}, but not 
> for {{getIfCached()}} or internal methods such as {{readDocumentsCached()}}. 
> This may cause unneeded JDBC roundtrips when a document like that indeed 
> changed in the meantime and needs to be updated in the database.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)