[ https://issues.apache.org/jira/browse/OAK-10137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nitin Gupta reassigned OAK-10137: --------------------------------- Assignee: Nitin Gupta > Static variable referenced from a non-static context > ---------------------------------------------------- > > Key: OAK-10137 > URL: https://issues.apache.org/jira/browse/OAK-10137 > Project: Jackrabbit Oak > Issue Type: Bug > Reporter: Nitin Gupta > Assignee: Nitin Gupta > Priority: Major > > https://github.com/apache/jackrabbit-oak/blame/trunk/oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/index/ElasticBulkProcessorHandler.java#L188 > waitForESAcknowledgement is a static variable which is accessed from a > non-static context. It is set to true only at initialization, in a static > context. So if at some point it is set to false, it will never again become > true during the runtime of the JVM. And the BuikProcessor instance is not > static, so there may be many instances created in the same JVM execution -- This message was sent by Atlassian Jira (v8.20.10#820010)