Bugfix
This commit is contained in:
parent
e962ae6336
commit
654a62d7b8
@ -13,6 +13,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.concurrent.locks.ReentrantLock;
|
import java.util.concurrent.locks.ReentrantLock;
|
||||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||||
|
import java.util.concurrent.locks.StampedLock;
|
||||||
import org.rocksdb.AbstractComparator;
|
import org.rocksdb.AbstractComparator;
|
||||||
import org.rocksdb.ColumnFamilyDescriptor;
|
import org.rocksdb.ColumnFamilyDescriptor;
|
||||||
import org.rocksdb.ColumnFamilyHandle;
|
import org.rocksdb.ColumnFamilyHandle;
|
||||||
@ -77,7 +78,7 @@ public class HugePqEnv implements Closeable {
|
|||||||
db.getName(),
|
db.getName(),
|
||||||
cfh,
|
cfh,
|
||||||
new CompositeMeterRegistry(),
|
new CompositeMeterRegistry(),
|
||||||
new ReentrantReadWriteLock().readLock()
|
new StampedLock()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user