Skip to content

[QUESTION] Reslove InterProcessMutex.acquire() hang #2020

@gabry-lab

Description

@gabry-lab

Worker's Network is not good , but connecting has no problem .
When worker using InterProcessMutex to acquire a lock, all worker's acquire() hang in a long time.

public InterProcessMutex acquireZkLock(CuratorFramework zkClient,String zNodeLockPath)throws Exception{
		InterProcessMutex mutex = new InterProcessMutex(zkClient, zNodeLockPath);
		mutex.acquire();
		return mutex;
	}

Has anyone else encountered the same problem ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions