Add error handling if rename was not successful

DatabaseRenameHandler:
- Fix error handling if rename procedure was not successful.
- Add more information regarding exceptions in logs.

Manual testing shows that in reviewDb case rollback was not being
performed due to autoCommit was set to true before performing rollback
making it ineffective.

Bug: Issue 11734
Change-Id: I252b7071b5575241a7aba1c3d3537b4775c024a2
2 files changed
tree: 02f58f2dd241b16dc8b5dab8dd70b9daae31677a
  1. .settings/
  2. src/
  3. tools/
  4. .bazelignore
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. bazlets.bzl
  9. BUILD
  10. external_plugin_deps.bzl
  11. LICENSE
  12. README.md
  13. WORKSPACE
README.md

Rename project plugin for Gerrit Code Review

This plugin currently supports Gerrit version 2.14.X and 2.15.X with changes in reviewDb. Also supported is the noteDb alternative for Gerrit versions 2.15.X and above.

For more information, see: src/main/resources/Documentation/about.md