Skip to content

fxtentacle/zoo-locked

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

zoo-locked

mutually exclusive task execution using ZooKeeper

This small tool will acquire an exclusive lock using ZooKeeper and then execute an arbitrary program/script through popen. While the task is running, the lock will be held. Should the tool crash for whatever reason, the ZooKeeper connection will time out which will release the lock.

The tool is written in C and has no dependencies apart from the zookeper_mt lib.

About

mutually exclusive task execution using ZooKeeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published