thomasmueller commented on a change in pull request #357:
URL: https://github.com/apache/jackrabbit-oak/pull/357#discussion_r701980938
##########
File path:
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java
##########
@@ -274,16 +284,35 @@ private static boolean hasAnyHiddenNodes(NodeBuilder
builder){
return false;
}
+ private void sparseLoggger(String primaryType, String name) {
+ synchronized (countLock) {
+ if ((cyclicExecutionCount >= indexJcrTypeInvalidLogLimiter)) {
Review comment:
having executionCount not going back to 0 would give us some advantage I
think... we could log the value, and therefore see how often the method was
called... but it's not directly needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]