NGP: Simple journal and tree structures

2007-11-13 Thread Jukka Zitting
Hi, In the past few hours I committed some simple NGP prototype code that implements a journal of binary records and a simple tree content structure based on such records. I'm combining ideas from the append-only data store concept and a more optimized node serialization format. Eventually I'd lik

Re: Realtime datastore garbage collector

2007-11-13 Thread Esteban Franqueiro
Hi. > Could you please describe it a bit more in detail? How do you avoid > deleting a record that is not yet saved? Yes, sure. I have implemented the following, and it solves the scenario I originally mentioned. The idea is to do something like this in SharedItemStateManager.Update.end() persi

[jira] Commented: (JCR-1206) UUID generation: SecureRandom should be used by default

2007-11-13 Thread Felix Meschberger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542202 ] Felix Meschberger commented on JCR-1206: > Why not use UUID.randomUUID() directly? The problem is that Jackrab

[jira] Commented: (JCR-1206) UUID generation: SecureRandom should be used by default

2007-11-13 Thread Esteban Franqueiro (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542199 ] Esteban Franqueiro commented on JCR-1206: - Why not use UUID.randomUUID() directly? > UUID generation: SecureRa

Errors Rebuilding Indexes and Checking Consistency after Content Import.

2007-11-13 Thread Colin Bielen
Hi group. I have an import/export related question/issue. We've written a jackrabbit importer that does a node-by-node system view export of approximately 200k content items from a source repository in to a jboss-embedded Jackrabbit 1.3.3 repository using the Derby Bundle PersistenceManager. The

[jira] Commented: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542152 ] Julian Reschke commented on JCR-1212: - >From me a big -1 on adding workarounds for bugs that could be fixed somewhe

Re: Realtime datastore garbage collector

2007-11-13 Thread Thomas Mueller
Hi, Sorry for the delay... > I think the issue I mentioned in > http://www.mail-archive.com/dev@jackrabbit.apache.org/msg08520.html > could be solved by: > integrating the data store with the current save mechanism This could be a solution (actually my plan was to use reference counting: incre

[jira] Commented: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread David Rauschenbach (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542132 ] David Rauschenbach commented on JCR-1212: - Agreed that there is probably a right answer about which exception i

[jira] Issue Comment Edited: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread David Rauschenbach (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542132 ] drauschenbach edited comment on JCR-1212 at 11/13/07 4:56 AM: --- Agreed that there is p

[jira] Commented: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542128 ] Julian Reschke commented on JCR-1212: - I always get confused about PathNotFoundExceptions and ItemNotFoundException

[jira] Resolved: (JCR-1206) UUID generation: SecureRandom should be used by default

2007-11-13 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller resolved JCR-1206. - Resolution: Fixed Fix Version/s: 1.4 Fixed as of revision 594470 > UUID generation: SecureR

[jira] Assigned: (JCR-1206) UUID generation: SecureRandom should be used by default

2007-11-13 Thread Thomas Mueller (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller reassigned JCR-1206: --- Assignee: Thomas Mueller > UUID generation: SecureRandom should be used by default > --

[jira] Updated: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread David Rauschenbach (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Rauschenbach updated JCR-1212: Description: Jeceira throws a PathNotFoundException when an SPI2JCR-wrapped Jeceira reposito

[jira] Resolved: (JCR-860) Add relative path parameter to rep:excerpt()

2007-11-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-860. -- Resolution: Fixed Setting to fixed. > Add relative path parameter to rep:excerpt() >

RE: Inefficient/useless UUIDDocId cache ( was : Search performance : MultiIndex)

2007-11-13 Thread Ard Schrijvers
sry for not indenting, i am using a webclient: Ard Schrijvers wrote: > It boils down IIUC, that only > the readers that where involved during a commit would have to be > re-calculated if getDocumentNumber is called, right?

[jira] Commented: (JCR-1214) DocId.UUIDDocId should not have a string attr uuid, but two long's lsb and msb

2007-11-13 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542086 ] Ard Schrijvers commented on JCR-1214: - One extra thing regarding JCR-1213: I also have to test that when merging li

[jira] Commented: (JCR-1214) DocId.UUIDDocId should not have a string attr uuid, but two long's lsb and msb

2007-11-13 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542084 ] Ard Schrijvers commented on JCR-1214: - "For simplicity I would rather use an instance of UUID instead of two longs.

[jira] Commented: (JCR-1213) UUIDDocId cache does not work properly because of weakReferences in combination with new instance for combined indexreader

2007-11-13 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542083 ] Ard Schrijvers commented on JCR-1213: - I'll use a profiler to see wether the extra step might use to much cpu. If s

Re: Inefficient/useless UUIDDocId cache ( was : Search performance : MultiIndex)

2007-11-13 Thread Marcel Reutegger
Ard Schrijvers wrote: It boils down IIUC, that only the readers that where involved during a commit would have to be re-calculated if getDocumentNumber is called, right? to be precise the UUIDDocIds that refer to readers that were involved in a commit need to be re-calculated. There are two oc

[jira] Commented: (JCR-1213) UUIDDocId cache does not work properly because of weakReferences in combination with new instance for combined indexreader

2007-11-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542078 ] Marcel Reutegger commented on JCR-1213: --- Just wanted to let you know that what you described is exactly how I ima

[jira] Commented: (JCR-1212) JCR2SPI Node.hasProperty(String) "optional property incompatibility" with Jeceira

2007-11-13 Thread angela (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542069 ] angela commented on JCR-1212: - PropertyNotFoundException ? PathNotFoundException ? i don't know of a PropertyNotFoundExcept

[jira] Commented: (JCR-1214) DocId.UUIDDocId should not have a string attr uuid, but two long's lsb and msb

2007-11-13 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542065 ] Marcel Reutegger commented on JCR-1214: --- For simplicity I would rather use an instance of UUID instead of two lon