gerrit/gerrit-reviewdb
Dave Borowitz 22b8412ef3 Support disabling change ReviewDb table access entirely
We already had DisabledChangesReviewDbWrapper to throw an exception
indicating it's a programmer error to try to read from changes tables
directly. By design, it was still possible to punch through this wrapper
and get access to the ReviewDb table.

We need to go deeper if we really want to shut off the changes tables.
Add a new config option that adds another level of wrapping to ReviewDb,
which makes all operations into complete no-ops. When this option is
set, there is literally no way to write to or read from the underlying
database table using the ReviewDb API. The table could go away and
Gerrit would still function.

Change-Id: Ia23a51449217a50eeaecd9934626270739c096e0
2017-02-22 10:49:17 -05:00
..
src Support disabling change ReviewDb table access entirely 2017-02-22 10:49:17 -05:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00