Skip to content

The lock will be held indefinitely and cannot be released #4603

@JamesWSWu

Description

@JamesWSWu

If the owner of the lock fails to set the lock's timer, the lock will be held indefinitely and cannot be released.
The log content is as follows:

[2025-07-26 18:51:41.982848] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:41.997579] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 132a0dd5-8741-4580-b917-b23f63ea8c07
[2025-07-26 18:51:41.997599] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.121759] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.121787] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca
[2025-07-26 18:51:42.121808] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.184589] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.184617] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca
[2025-07-26 18:51:42.184634] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.225672] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 132a0dd5-8741-4580-b917-b23f63ea8c07 held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.225697] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 132a0dd5-8741-4580-b917-b23f63ea8c07
[2025-07-26 18:51:42.225712] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.585211] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 52f6defa-6569-42c8-91ce-7dd80e8f7792 held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.682275] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.585244] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.682301] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca
[2025-07-26 18:51:42.682342] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.755675] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 132a0dd5-8741-4580-b917-b23f63ea8c07 held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.755702] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 132a0dd5-8741-4580-b917-b23f63ea8c07
[2025-07-26 18:51:42.755717] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.814834] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 52f6defa-6569-42c8-91ce-7dd80e8f7792 held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.833327] W [glusterd-locks.c:579:glusterd_mgmt_v3_lock] (-->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe0a74) [0x7f9fae0e0a74] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe055b) [0x7f9fae0e055b] -->/usr/lib64/glusterfs/8.2/xlator/mgmt/glusterd.so(+0xe5fb2) [0x7f9fae0e5fb2] ) 0-management: Lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca held by 265d81b5-5bb7-4f67-9637-0d247e1cddfb
[2025-07-26 18:51:42.814869] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string
[2025-07-26 18:51:42.833349] E [MSGID: 106118] [glusterd-syncop.c:1899:gd_sync_task_begin] 0-management: Unable to acquire lock for 5f41e3c0-0a21-433d-b837-f1844cec91ca
[2025-07-26 18:51:42.833371] E [MSGID: 106061] [glusterd-utils.c:9888:glusterd_to_cli] 0-management: Failed to get command string

Metadata

Metadata

Assignees

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