Comments (3)
java.lang.InternalError: wrong BPage header
at jdbm.btree.BPage.deserialize(BPage.java:1037)
at jdbm.btree.BPage.deserialize(BPage.java:59)
at jdbm.recman.BaseRecordManager.fetch2(BaseRecordManager.java:545)
at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:509)
at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:220)
at jdbm.btree.BPage.loadBPage(BPage.java:892)
at jdbm.btree.BPage.childBPage(BPage.java:882)
at jdbm.btree.BPage.findValue(BPage.java:311)
at jdbm.btree.BPage.findValue(BPage.java:312)
at jdbm.btree.BPage.findValue(BPage.java:312)
at jdbm.btree.BTree.find(BTree.java:449)
at jdbm.btree.BTreeSortedMap.containsKey(BTreeSortedMap.java:274)
Original comment by [email protected]
on 25 Aug 2012 at 1:03
from jdbm2.
Are you using transactions? If yes than it is problem. If not than it is
'feature', when transactions are disabled it writes faster but disables
consistency checks.
Killing db with disabled transaction while writing WILL cause data corruption.
I am not going to fix it anyway. JDBM4 will be out soon.
Original comment by [email protected]
on 25 Aug 2012 at 3:31
from jdbm2.
Thank you.
I have used the same code as the example on the project home page (
http://code.google.com/p/jdbm2/).
I don't know how to enable or disable transactions.
But I found that I forgot to add "RecordManager.close()" to shutdown hook.
Original comment by [email protected]
on 26 Aug 2012 at 3:34
from jdbm2.
Related Issues (18)
- Performance and threading patch HOT 9
- HTreeMap.clear() fails on maps with ConcurrentModificationException HOT 1
- NPE in BTree.getRoot() HOT 2
- Improving the SoftReference cache HOT 18
- java.lang.InternalError when retrieveing from a large map HOT 6
- Retrieval of objects from PrimaryStoreMap failing HOT 4
- HashBucket.writeExternal is destructive when HTree has a custom key serializer HOT 3
- [Enhancement] RecordFile.read() implementation doesn't make sense HOT 1
- [Enhancement] RecordHeader.setAvailableSize() speed improvement HOT 5
- [Bug fix] Disk memory leak in BTree.java HOT 1
- .t file not deleted. HOT 3
- Bug in getFirstLargerThan in FreePhysicalRowIdPage.java HOT 1
- jdbm.helper.Serialization.writeLongArray(DataOutputStream, long[]) is broken HOT 2
- Access JDBM database concurrently HOT 1
- java.lang.Error: Bad magic on log file, what does it mean? HOT 1
- Need forceClose
- File left locked after exception during init HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdbm2.