-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAK-11284: Greedy Reuse of cluster IDs may lead to synchronous LastRe… #1877
base: trunk
Are you sure you want to change the base?
Conversation
…vRecovery executions slowing down startup Introduced the system variable oak.syncRecoveryTimeout to limit the duration of a self recovery at startup.
...-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent.java
Outdated
Show resolved
Hide resolved
…vRecovery executions slowing down startup Changed property name for better code readability.
Quality Gate passedIssues Measures |
...-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/LastRevRecoveryAgent.java
Show resolved
Hide resolved
Minor changes:
|
haven't thought much about impact of this but just wanted to state (the obvious) that we'd need to be careful to not cause higher cluster IDs to be used than previously. The more cluster IDs that have ever been used in a deployment, the higher some cost (RevisionVector getting larger, some operations iterating over all (ever existing) cluster IDs) |
@stefan-egli - that sort of is the point. It allows the user to trade conservative use of clusterIds with shorter startup time (which, in our case, was seen at around 10min when the server had been crashed and stayed off for a longer period of time) |
right, so this needs to be rolled out with care |
well, it's opt-in... |
…vRecovery executions slowing down startup Redone from scratch.
…vRecovery executions slowing down startup
Introduced the system variable oak.syncRecoveryTimeout to limit the duration of a self recovery at startup.