Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception inside of replication task #155

Closed
sakno opened this issue Mar 17, 2023 · 0 comments
Closed

Unhandled exception inside of replication task #155

sakno opened this issue Mar 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sakno
Copy link
Collaborator

sakno commented Mar 17, 2023

Log from Azure DevOps (Linux machine):

Unhandled exception. System.ObjectDisposedException: Cannot access a closed file.
   at System.IO.FileStream.get_Length()
   at DotNext.Net.Cluster.Consensus.Raft.Membership.PersistentClusterConfigurationStorage`1.ClusterConfiguration.get_Length() in /home/vsts/work/1/s/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/Membership/PersistentClusterConfigurationStorage.cs:line 45
   at DotNext.Net.Cluster.Consensus.Raft.Http.AppendEntriesMessage`2..ctor(ClusterMemberId sender, Int64 term, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, TList entries, IClusterConfiguration configuration, Boolean applyConfig) in /home/vsts/work/1/s/src/cluster/DotNext.AspNetCore.Cluster/Net/Cluster/Consensus/Raft/Http/AppendEntriesMessage.cs:line 506
   at DotNext.Net.Cluster.Consensus.Raft.Http.RaftClusterMember.DotNext.Net.Cluster.Consensus.Raft.IRaftClusterMember.AppendEntriesAsync[TEntry,TList](Int64 term, TList entries, Int64 prevLogIndex, Int64 prevLogTerm, Int64 commitIndex, IClusterConfiguration configuration, Boolean applyConfig, CancellationToken token) in /home/vsts/work/1/s/src/cluster/DotNext.AspNetCore.Cluster/Net/Cluster/Consensus/Raft/Http/RaftClusterMember.cs:line 199
   at DotNext.Net.Cluster.Consensus.Raft.LeaderState`1.Replicator.ReplicateEntries[TEntry,TList](TList entries, CancellationToken token) in /home/vsts/work/1/s/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.Replication.cs:line 148
   at DotNext.Net.Cluster.Consensus.Raft.LeaderState`1.Replicator.ReadAsync[TEntry,TList](TList entries, Nullable`1 snapshotIndex, CancellationToken token) in /home/vsts/work/1/s/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.Replication.cs:line 121
   at DotNext.Net.Cluster.Consensus.Raft.LeaderState`1.Replicator.ReplicateAsync(IAuditTrail`1 auditTrail, Int64 currentIndex, CancellationToken token) in /home/vsts/work/1/s/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.Replication.cs:line 66
   at DotNext.Net.Cluster.Consensus.Raft.LeaderState`1.ReplicationWorkItem.System.Threading.IThreadPoolWorkItem.Execute() in /home/vsts/work/1/s/src/cluster/DotNext.Net.Cluster/Net/Cluster/Consensus/Raft/LeaderState.Replication.cs:line 219
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()
@sakno sakno self-assigned this Mar 17, 2023
@sakno sakno added the bug Something isn't working label Mar 17, 2023
sakno added a commit that referenced this issue Mar 17, 2023
@sakno sakno closed this as completed in a4996ba Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant