stefan-egli edited a comment on pull request #247:
URL: https://github.com/apache/jackrabbit-oak/pull/247#issuecomment-705447654
@Vinod-holani, I just checked and it should actually stop the thread [here](https://github.com/apache/jackrabbit-oak/pull/247/files#diff-8275f1ceacb45f9a971993016d545158R3547)?
(if the above link doesn't auto-expand and link to the code, here's the excerpt : it calls
`done()` once `backgroundSweep2()` considers its job done:
```
protected void execute(@NotNull DocumentNodeStore nodeStore) {
if (retryCount > 0) {
LOG.info("BackgroundSweep2Operation.execute: retrying sweep2. retryCount="
+ retryCount);
}
if (nodeStore.backgroundSweep2(sweep2Lock)) {
done();
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
|