Stefan Guggisberg created OAK-272:
-------------------------------------
Summary: every session login causes a mk.branch operation
Key: OAK-272
URL: https://issues.apache.org/jira/browse/OAK-272
Project: Jackrabbit Oak
Issue Type: Bug
Components: core
Reporter: Stefan Guggisberg
here's the relevant stack trace (copied from OAK-267):
{code}
at
org.apache.jackrabbit.mk.core.MicroKernelImpl.branch(MicroKernelImpl.java:508)
at
org.apache.jackrabbit.oak.kernel.KernelNodeStoreBranch.<init>(KernelNodeStoreBranch.java:56)
at
org.apache.jackrabbit.oak.kernel.KernelNodeStore.branch(KernelNodeStore.java:101)
at org.apache.jackrabbit.oak.core.RootImpl.refresh(RootImpl.java:160)
at org.apache.jackrabbit.oak.core.RootImpl.<init>(RootImpl.java:111)
at
org.apache.jackrabbit.oak.core.ContentSessionImpl.getCurrentRoot(ContentSessionImpl.java:78)
at org.apache.jackrabbit.oak.jcr.SessionDelegate.<init>(SessionDelegate.java:94)
at org.apache.jackrabbit.oak.jcr.RepositoryImpl.login(RepositoryImpl.java:137)
[...]
{code}
while investigating OAK-267 i've noticed >40k empty branch commits all based on
the same head revision.
those branch commits seem to be unnecessary since they're all empty (i.e. not
followed by write operations).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira