[jira] [Updated] (OAK-1096) QueryManager does not have autorefresh

2013-10-15 Thread Christan Keller (JIRA)

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

Christan Keller updated OAK-1096:
-

Attachment: Issue.java

 QueryManager does not have autorefresh
 --

 Key: OAK-1096
 URL: https://issues.apache.org/jira/browse/OAK-1096
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr, query
Affects Versions: 0.10
Reporter: Christan Keller
 Attachments: Issue.java


 Having two sessions A and B.
 A writes something for example /content/page/text = text
 Accessing B's QueryManager and exexcute a query for text nothing will be 
 found.
 Triggering an explicit refresh on B before the query and the hit is found.
 I assume that the autorefresh is missed for that case



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Updated] (OAK-1096) QueryManager does not have autorefresh

2013-10-15 Thread Alex Parvulescu (JIRA)

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

Alex Parvulescu updated OAK-1096:
-

Attachment: OAK-1096.patch

attaching proposed patch (fix+test)

the idea is to turn the QueryResult creation into a session operation which 
would trigger the refresh behavior.

 QueryManager does not have autorefresh
 --

 Key: OAK-1096
 URL: https://issues.apache.org/jira/browse/OAK-1096
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: jcr, query
Affects Versions: 0.10
Reporter: Christan Keller
Assignee: Alex Parvulescu
 Attachments: Issue.java, OAK-1096.patch


 Having two sessions A and B.
 A writes something for example /content/page/text = text
 Accessing B's QueryManager and exexcute a query for text nothing will be 
 found.
 Triggering an explicit refresh on B before the query and the hit is found.
 I assume that the autorefresh is missed for that case



--
This message was sent by Atlassian JIRA
(v6.1#6144)