Allow to re-create a previously removed ref

When removing a ref, the zookeeper path is set with a zeros
ObjectId marking it as tombstone. Automatically detect the tombstones
when re-creating the ref and avoid false split-brain scenarios.

Bug: Issue 11888
Change-Id: Ie58823eab18a870ab8208cad5815d5a5182915fd
2 files changed
tree: 70f2b520e2a21ba5933daa1347d084bd34392e99
  1. src/
  2. .gitignore
  3. BUILD
  4. external_plugin_deps.bzl
  5. Jenkinsfile
  6. LICENSE
  7. README.md
README.md

plugins_zookeeper

Zookeeper plugin for Gerrit Code Review