This commit is contained in:
Clebert Suconic 2020-04-03 16:34:11 -04:00
commit dd4b89d881
2 changed files with 6 additions and 2 deletions

View File

@ -791,7 +791,7 @@ public class PagingStoreImpl implements PagingStore {
final ReadLock managerLock) throws Exception {
if (!running) {
throw new IllegalStateException("PagingStore(" + getStoreName() + ") not initialized");
return false;
}
boolean full = isFull();

View File

@ -572,7 +572,11 @@ public class NullStorageManager implements StorageManager {
* <p>
* The reasoning is that exposing the lock is more explicit and therefore `less bad`.
*/
if (store != null) {
return store.page(msg, tx, listCtx, null);
} else {
return false;
}
}
@Override