On 2011-10-07 18:03, Julian Reschke (Updated) (JIRA) wrote:
>
> [ https://issues.apache.org/jira/browse/JCR-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
>
> Julian Reschke updated JCR-3069:
> --------------------------------
>
> Attachment: JCR-3069.patch
>
> updated patch, incorporating changes and suggestions by Alex
> ...
A few updates:
- there's a set of Concurrent* tests that are currently disabled (and do
not pass); after enabling them I was able to create an inconsistent
persistence even on the BundleDBPersistenceManager; will investigate
- the check call takes around ~1s on my machine and will be much more
expensive on bigger repositories, so we clearly can't run it always
- my current thinking is to add this as final dummy test to the test
suite mentioned above; that wouldn't allow us to see what test caused
the corruption but at least signal *that* it happened
- API: I'm tempted to change the Set<ReportItem> to Map<String,
Set<ReportItem>>, in order to make the lookup by nodeId simpler.
Feedback appreciated.
Best regards, Julian
|