Re: About FileDataStore mod-time update

2011-10-12 Thread Paco Avila
You are right, lastAccessTime() isn't included until Java 7 :( http://openjdk.java.net/projects/nio/javadoc/java/nio/file/attribute/BasicFileAttributes.html#lastAccessTime%28%29 On Thu, Oct 13, 2011 at 8:22 AM, Thomas Mueller wrote: > Hi, > > > Why don't check the "access time", instead of usin

Re: About FileDataStore mod-time update

2011-10-12 Thread Thomas Mueller
Hi, > Why don't check the "access time", instead of using the "modification time" > for this? At least in UNIX / Linux you can check when a file was accesed last > time. First of all, in Java you can't. Second, many file systems don't update that value. Regards, Thomas

Re: About FileDataStore mod-time update

2011-10-12 Thread Paco Avila
Why don't check the "access time", instead of using the "modification time" for this? At least in UNIX / Linux you can check when a file was accesed last time. On Wed, Oct 12, 2011 at 1:42 PM, Thomas Mueller wrote: > Hi, > > > I think we should drop support for multiple distinct repositories > >

[jira] [Updated] (JCR-2892) Large fetch sizes have potentially deleterious effects on VM memory requirements when using Oracle

2011-10-12 Thread Updated
[ https://issues.apache.org/jira/browse/JCR-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Köll updated JCR-2892: Resolution: Fixed Status: Resolved (was: Patch Available) > Large fetch sizes have potentially d

[jira] [Commented] (JCR-2892) Large fetch sizes have potentially deleterious effects on VM memory requirements when using Oracle

2011-10-12 Thread Commented
[ https://issues.apache.org/jira/browse/JCR-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126362#comment-13126362 ] Claus Köll commented on JCR-2892: - Modified (fetch Size 0 per default) patch applied in rev

[jira] [Updated] (JCR-2892) Large fetch sizes have potentially deleterious effects on VM memory requirements when using Oracle

2011-10-12 Thread Updated
[ https://issues.apache.org/jira/browse/JCR-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Köll updated JCR-2892: Fix Version/s: 2.3.2 > Large fetch sizes have potentially deleterious effects on VM memory > requirement

[jira] [Commented] (JCR-3110) QNodeTypeDefinitionImpl.getSerializablePropertyDefs() might return non serializable property definitions

2011-10-12 Thread Commented
[ https://issues.apache.org/jira/browse/JCR-3110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126059#comment-13126059 ] Michael Dürig commented on JCR-3110: I think the else branch should be defs.add(new

Re: Curious method definition

2011-10-12 Thread Michael Dürig
The else branch should probably be defs.add(new QPropertyDefinitionImpl(pd)); I created JCR-3110 [1] for this. Michael [1] https://issues.apache.org/jira/browse/JCR-3110 On 12.10.11 6:34, Dave Brosius wrote: The following method in class / / /org.apache.jackrabbit.spi.commons.QNodeTyp

[jira] [Created] (JCR-3110) QNodeTypeDefinitionImpl.getSerializablePropertyDefs() might return non serializable property definitions

2011-10-12 Thread Created
QNodeTypeDefinitionImpl.getSerializablePropertyDefs() might return non serializable property definitions - Key: JCR-3110 URL: https://issues.apache.org/jira/b

[jira] [Updated] (JCR-3093) Inconsistency between Session.getProperty and Node.getProperty for binary values

2011-10-12 Thread angela (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-3093: Resolution: Fixed Fix Version/s: 2.3.2 Status: Resolved (was: Patch Available) > Inconsistency

[jira] [Commented] (JCR-3093) Inconsistency between Session.getProperty and Node.getProperty for binary values

2011-10-12 Thread angela (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125921#comment-13125921 ] angela commented on JCR-3093: - played around with the possibilities listed above. retrieving the

[jira] [Updated] (JCR-2073) Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid and jcr:mixinTypes

2011-10-12 Thread angela (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-2073: Summary: Redundant calls to RepositoryService.getPropertyInfo() for jcr:uuid and jcr:mixinTypes (was: Redundant call

[jira] [Commented] (JCR-3069) add optional consistency checks to test suite

2011-10-12 Thread Julian Reschke (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125902#comment-13125902 ] Julian Reschke commented on JCR-3069: - Another issue: the test suite alternates through

[jira] [Resolved] (JCR-3109) Move PersistenceManagerTest from o.a.j.core to o.a.j.core.persistence

2011-10-12 Thread Alex Parvulescu (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved JCR-3109. -- Resolution: Fixed Fix Version/s: 2.3.2 Fixed in rev 1182384. > Move Persi

[jira] [Updated] (JCR-3109) Move PersistenceManagerTest from o.a.j.core to o.a.j.core.persistence

2011-10-12 Thread Alex Parvulescu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-3109: - Description: The subject pretty much sums it up. The PMTest should be placed together with the othe

[jira] [Updated] (JCR-3109) Move PersistenceManagerTest from o.a.j.core to o.a.j.core.persistence

2011-10-12 Thread Alex Parvulescu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-3109: - Description: ;The subject pretty much sums it up. The PMTest should be placed together with the oth

[jira] [Created] (JCR-3109) Move PersistenceManagerTest from o.a.j.core to o.a.j.core.persistence

2011-10-12 Thread Alex Parvulescu (Created) (JIRA)
Move PersistenceManagerTest from o.a.j.core to o.a.j.core.persistence - Key: JCR-3109 URL: https://issues.apache.org/jira/browse/JCR-3109 Project: Jackrabbit Content Repository

[jira] [Resolved] (JCR-2989) Support for embedded index aggregates

2011-10-12 Thread Alex Parvulescu (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved JCR-2989. -- Resolution: Fixed Fix Version/s: 2.3.2 Fixed in revision 1182367 and 1182368.

[jira] [Updated] (JCR-3108) SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes

2011-10-12 Thread Alex Parvulescu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-3108: - Fix Version/s: (was: 2.4) 2.3.2 > SQL2 ISDESCENDANTNODE can throw Boolea

Re: [VOTE] Release Apache Jackrabbit 2.3.1

2011-10-12 Thread Alex Parvulescu
+1 checked ok On Wed, Oct 12, 2011 at 12:25 PM, Jukka Zitting wrote: > Hi, > > A candidate for the Jackrabbit 2.3.1 release is available at: > >http://people.apache.org/~jukka/jackrabbit/2.3.1/ > > The release candidate is a zip archive of the sources in: > >http://svn.apache.org/repos/as

Re: About FileDataStore mod-time update

2011-10-12 Thread Thomas Mueller
Hi, > I think we should drop support for multiple distinct repositories Removing features from existing classes is problematic... What about a config option or a new class where this isn't supported. >The upside would be that with >something like that we'd be able to avoid the troublesome need

[VOTE] Release Apache Jackrabbit 2.3.1

2011-10-12 Thread Jukka Zitting
Hi, A candidate for the Jackrabbit 2.3.1 release is available at: http://people.apache.org/~jukka/jackrabbit/2.3.1/ The release candidate is a zip archive of the sources in: http://svn.apache.org/repos/asf/jackrabbit/tags/2.3.1/ The SHA1 checksum of the archive is 55ea46caa9c4232d60c5a

Re: About FileDataStore mod-time update

2011-10-12 Thread Jukka Zitting
Hi, On Wed, Oct 12, 2011 at 11:34 AM, Thomas Mueller wrote: > Please note the data store can be shared by multiple *processes* (multiple > distinct repositories and multiple cluster nodes). I think we should drop support for multiple distinct repositories using the same data store. For multiple

[jira] [Updated] (JCR-3108) SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes

2011-10-12 Thread Alex Parvulescu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-3108: - Fix Version/s: (was: 2.3.2) 2.4 > SQL2 ISDESCENDANTNODE can throw Boolea

Re: About FileDataStore mod-time update

2011-10-12 Thread Thomas Mueller
Hi, Please note the data store can be shared by multiple *processes* (multiple distinct repositories and multiple cluster nodes). Keeping a separate log is problematic, as accessing the separate log would need to be synchronized somehow. Keeping the list in memory is even more problematic (not to

Trunk version updated to 2.4-SNAPSHOT

2011-10-12 Thread Jukka Zitting
Hi, After the 2.3.0 release I let the trunk version be 2.3.1-SNAPSHOT and now after cutting the 2.3.1 release the version became 2.3.2-SNAPSHOT. While this is conceptually correct and gives correct default values for the Maven release plugin, it does make it a bit cumbersome for dowstream projects

[jira] [Resolved] (JCR-3108) SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes

2011-10-12 Thread Alex Parvulescu (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu resolved JCR-3108. -- Resolution: Fixed Fix Version/s: 2.3.2 Fixed in revision #1182281. > SQL2

[jira] [Assigned] (JCR-3108) SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes

2011-10-12 Thread Alex Parvulescu (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu reassigned JCR-3108: Assignee: Alex Parvulescu > SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses i

[jira] [Created] (JCR-3108) SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes

2011-10-12 Thread Alex Parvulescu (Created) (JIRA)
SQL2 ISDESCENDANTNODE can throw BooleanQuery#TooManyClauses if there are too many matching child nodes -- Key: JCR-3108 URL: https://issues.apache.org/jira/browse/

Re: About FileDataStore mod-time update

2011-10-12 Thread Jukka Zitting
Hi, On Wed, Oct 12, 2011 at 10:22 AM, Thomas Mueller wrote: > However I'm afraid I don't know a better way to solve the problem (mark the > file as still being used). Suggestions are always welcome of course. We could keep a separate log of the last access times of records. Or better yet, since

Re: About FileDataStore mod-time update

2011-10-12 Thread Paco Avila
On Wed, Oct 12, 2011 at 10:22 AM, Thomas Mueller wrote: > Hi, > > > This means that every time a file is accessed is like has been modified > and this is not true. > > When garbage collection is running, yes. > I don't understand why the file mod-time need to be updated when DataStoreGarbageColl

[jira] [Updated] (JCR-3102) InternalVersion.getFrozenNode confused about root version?

2011-10-12 Thread Jukka Zitting (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-3102: --- Issue Type: Improvement (was: Task) > InternalVersion.getFrozenNode confused about root version? >

[jira] [Updated] (JCR-2892) Large fetch sizes have potentially deleterious effects on VM memory requirements when using Oracle

2011-10-12 Thread Jukka Zitting (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2892: --- Fix Version/s: (was: 2.3.1) > Large fetch sizes have potentially deleterious effects on VM memo

[jira] [Updated] (JCR-3098) Add hit miss statistics and logging to caches

2011-10-12 Thread Jukka Zitting (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-3098: --- Fix Version/s: (was: 2.3.1) > Add hit miss statistics and logging to caches > -

[jira] [Commented] (JCR-2968) Add an option to read the Clustering Journal from a different source than the rest of the clustering info

2011-10-12 Thread Bart van der Schans (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125668#comment-13125668 ] Bart van der Schans commented on JCR-2968: -- Hi Jukka, Christian, I agree about the

[jira] [Updated] (JCR-3107) Speed up hierarchy cache initialization

2011-10-12 Thread Stefan Guggisberg (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/JCR-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Guggisberg updated JCR-3107: --- Component/s: query > Speed up hierarchy cache initialization >

Re: About FileDataStore mod-time update

2011-10-12 Thread Thomas Mueller
Hi, > This means that every time a file is accessed is like has been modified and > this is not true. When garbage collection is running, yes. > incremental backups does not make sense If incremental backup only checks the last modified time, then it's a problem, I agree. However I'm afraid I

Re: Curious method definition

2011-10-12 Thread Julian Reschke
On 2011-10-12 07:34, Dave Brosius wrote: The following method in class / / /org.apache.jackrabbit.spi.commons.QNodeTypeDefinitionImpl / would appear to return a set of serializable property definitions. However, it would appear that it just returns a set-version of the passed in parameter,

About FileDataStore mod-time update

2011-10-12 Thread Paco Avila
Hi there. I'm curious about the behabior of the FileDataStore.getRecordIfStored(DataIdentifier identifier) method: when access a DataRecord, it update the modification time of the file. This means that every time a file is accessed is like has been modified and this is not true. The main reason o