You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
Caused by: one.microstream.afs.exceptions.AfsExceptionExclusiveAttemptConflict: File is already used by a different exclusive user: one.microstream.afs.types.AFile$Default@6327b54d("storage/channel_3/transactions_3.sft"). Exclusive user: (java.lang.Thread@8674c87) Thread[MicroStream-StorageChannel-3,5,]. Attempting user: (java.lang.Thread@6a0b3fb) Thread[MicroStream-StorageChannel-3,5,main].
at one.microstream.afs.types.AccessManager$Default$2.handleExclusiveAttemptConflict(AccessManager.java:776)
at one.microstream.afs.types.AccessManager$Default.internalUseWriting(AccessManager.java:664)
at one.microstream.afs.types.AccessManager$Default.useWriting(AccessManager.java:497)
at one.microstream.afs.types.AFile.useWriting(AFile.java:108)
at one.microstream.afs.types.AFS.applyWriting(AFS.java:272)
at one.microstream.afs.types.AFS.applyWriting(AFS.java:262)
at one.microstream.afs.types.AFile.ensureExists(AFile.java:157)
at one.microstream.storage.types.StorageFileManager$Default.createTransactionsFile(StorageFileManager.java:1117)
at one.microstream.storage.types.StorageFileManager$Default.readTransactionsFile(StorageFileManager.java:727)
at one.microstream.storage.types.StorageFileManager$Default.readStorage(StorageFileManager.java:712)
at one.microstream.storage.types.StorageChannel$Default.readStorage(StorageChannel.java:745)
at one.microstream.storage.types.StorageChannelTaskInitialize$Default.internalProcessBy(StorageChannelTaskInitialize.java:195)
at one.microstream.storage.types.StorageChannelTaskInitialize$Default.internalProcessBy(StorageChannelTaskInitialize.java:1)
at one.microstream.storage.types.StorageChannelTask$Abstract.processBy(StorageChannelTask.java:222)
at one.microstream.storage.types.StorageChannel$Default.work(StorageChannel.java:422)
at one.microstream.storage.types.StorageChannel$Default.run(StorageChannel.java:509)
at java.lang.Thread.run(Thread.java:748)
After fixing #279 that exception gets reproducible thrown after restarting a storage several times if the continuous Backup is enabled.
The Exception is thrown because the AccessManager instance does not deregister the affected file on shutdown. At the next restart the error is caused.