Author: chetanm
Date: Thu Apr 3 09:11:56 2014
New Revision: 1584313
URL: http://svn.apache.org/r1584313
Log:
OAK-1639 - MarkSweepGarbageCollector improvements
Use the actual blobStore registered with the DocumentNodeStore for the check
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java?rev=1584313&r1=1584312&r2=1584313&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java
Thu Apr 3 09:11:56 2014
@@ -319,7 +319,7 @@ public class DocumentNodeStoreService {
);
}
- if (blobStore instanceof GarbageCollectableBlobStore) {
+ if (store.getBlobStore() instanceof GarbageCollectableBlobStore) {
BlobGarbageCollector gc = new BlobGarbageCollector() {
@Override
public void collectGarbage() throws Exception {