Skip to content

MVStoreException: Map tempLobMap(7) is closed in LobStorageMap.doRemoveLob() #3643

@katzyn

Description

@katzyn

I'm not sure where it came from, most likely from TestPowerOff , but exceptions from other threads can be logged out of order:

Test AES SOFT_LRU diskUndo diskResult traceLevelFile throttle:1  (26315 KB used)

…

09:59:34 00:01.064 org.h2.test.db.TestMemoryUsage 
09:59:51 00:16.910 org.h2.test.db.TestMultiThread 
Error: Exception in thread "H2-lob-cleaner" org.h2.mvstore.MVStoreException: Map tempLobMap(7) is closed. null [2.2.219/4]
	at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
	at org.h2.mvstore.MVMap.beforeWrite(MVMap.java:961)
	at org.h2.mvstore.MVMap.operate(MVMap.java:1753)
	at org.h2.mvstore.MVMap.remove(MVMap.java:517)
	at org.h2.mvstore.db.LobStorageMap.doRemoveLob(LobStorageMap.java:460)
	at org.h2.mvstore.db.LobStorageMap.cleanup(LobStorageMap.java:443)
	at org.h2.mvstore.db.LobStorageMap.lambda$new$0(LobStorageMap.java:122)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Error: Exception in thread "H2-lob-cleaner" org.h2.mvstore.MVStoreException: Map tempLobMap(7) is closed. null [2.2.219/4]
	at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
	at org.h2.mvstore.MVMap.beforeWrite(MVMap.java:961)
	at org.h2.mvstore.MVMap.operate(MVMap.java:1753)
	at org.h2.mvstore.MVMap.remove(MVMap.java:517)
	at org.h2.mvstore.db.LobStorageMap.doRemoveLob(LobStorageMap.java:460)
	at org.h2.mvstore.db.LobStorageMap.cleanup(LobStorageMap.java:443)
	at org.h2.mvstore.db.LobStorageMap.lambda$new$0(LobStorageMap.java:122)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
09:59:52 00:00.587 org.h2.test.db.TestPowerOff 
09:59:52 00:00.000 org.h2.test.poweroff.TestReorderWrites testMVStore(): Disable partial write
09:59:52 00:00.425 org.h2.test.poweroff.TestReorderWrites testMVStore(): Enable partial write
09:59:53 00:00.850 org.h2.test.poweroff.TestReorderWrites testFileSystem(): Disable partial write
09:59:53 00:00.874 org.h2.test.poweroff.TestReorderWrites testFileSystem(): Enable partial write
09:59:53 00:00.893 org.h2.test.poweroff.TestReorderWrites

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions