Get a URI lock before running tasks.

This allows more than one related gerrit process (as in multi-master
situations) to access the persistent task store at the same time without
deleting each other's task files. This also prevents more than one gerrit
process from pushing to the same URI at the same time.

Change-Id: I1f3f4d60605ff21038e722553cb38494e18b9ff9
4 files changed
tree: be21edb5b714de15f5acfd2054e5272532534499
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE