mirror of
https://github.com/chrislusf/seaweedfs
synced 2025-09-19 01:30:23 +02:00
- Fix deadlock in FindStaticMember by adding FindStaticMemberLocked version - Fix deadlock in RegisterStaticMember by adding RegisterStaticMemberLocked version - Fix deadlock in UnregisterStaticMember by adding UnregisterStaticMemberLocked version - Fix GroupInstanceID parsing in parseLeaveGroupRequest method - All static membership tests now pass without deadlocks: - JoinGroup static membership (join, reconnection, dynamic members) - LeaveGroup static membership (leave, wrong instance ID validation) - DescribeGroups static membership The deadlocks occurred because protocol handlers were calling GroupCoordinator methods that tried to acquire locks on groups that were already locked by the calling handler. The fix introduces *Locked versions of these methods that assume the group is already locked by the caller. |
||
---|---|---|
.. | ||
assignment.go | ||
assignment_test.go | ||
cooperative_sticky_test.go | ||
group_coordinator.go | ||
group_coordinator_test.go | ||
incremental_rebalancing.go | ||
incremental_rebalancing_test.go | ||
rebalance_timeout.go | ||
rebalance_timeout_test.go | ||
static_membership_test.go |