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. .gitignore
  2. .mailmap
  3. .settings/
  4. BUILD
  6. src/