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

NoSqlManager. get_creation_lock issue #23

Open
maxpmaxp opened this issue Feb 3, 2014 · 0 comments
Open

NoSqlManager. get_creation_lock issue #23

maxpmaxp opened this issue Feb 3, 2014 · 0 comments

Comments

@maxpmaxp
Copy link

maxpmaxp commented Feb 3, 2014

Current NoSqlManager.get_creation_lock doesn't take into account key, which leads to deadlocks in some situations. A possible fixture is:

    def get_creation_lock(self, key):
        return file_synchronizer(
            identifier ="tccontainer/funclock/%s/%s" % (self.namespace, key),
            lock_dir = self.lock_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant