.net - Akka.NET Persistence: Warning on deleting messages -
i getting following warning in logs when trying delete messages snapshot version:
2017-08-20 15:58:09.6802|warn|appriver.office365.subscriptionprovisioningchecker.actors.subscriptionprovisioningstatuscheckcoordinator|failed deletemessages tosequencenr [3] persistenceid [subscriptionprovisioningstatuscheckcoordinator] due to: [microsof t.data.sqlite.sqliteexception (0x80004005): sqlite error 5: 'database locked'. @ microsoft.data.sqlite.sqliteexception.throwexceptionforrc(int32 rc, sqlite3 db) @ microsoft.data.sqlite.sqlitecommand.executereader(commandbehavior behavior) @ microsoft.data.sqlite.sqlitecommand.executereader() @ microsoft.data.sqlite.sqlitecommand.executenonquery() @ system.data.common.dbcommand.executenonqueryasync(cancellationtoken cancellationtoken) --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ akka.persistence.sql.common.journal.abstractqueryexecutor.<deletebatchasync>d__48.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ akka.persistence.sql.common.journal.sqljournal.<deletemessagestoasync>d__49.movenext() --- end of stack trace previous location exception thrown --- @ system.runtime.compilerservices.taskawaiter.throwfornonsuccess(task task) @ system.runtime.compilerservices.taskawaiter.handlenonsuccessanddebuggernotification(task task) @ akka.util.internal.atomicstate.<callthrough>d__8.movenext() --- end of stack trace previous location exception thrown --- @ akka.util.internal.atomicstate.<callthrough>d__8.movenext(): sqlite error 5: 'database locked'.]
as can see exception stack trace using sql lite persistence provider. interesting thing when @ event_journal, messages deleted. know reason warning being displayed? can provide sample code if necessary.
Comments
Post a Comment