Evolution of Gerrit Code Review: From SQL to JGit
Gerrit Code Review is moving its core review database from a standard SQL system to a new backend built on top of JGit. This shift has been five years in the making and will soon be coming to fruition with the upcoming Gerrit 3.0 release.
Git brings interesting properties as a database, including serialized transactions, distributed replication, offline operation and auditable mutation history. Unfortunately as a source code version control system Git lacks useful database features like indexes, or even basic structured data fields.
In this talk I will walk through the evolution of the Gerrit SQL database, the transition to the Git backend, and highlight how Gerrit is leveraging the unique properties of Git, as well as sharing our mitigation solutions for its feature gaps.
Presenter: Shawn Pearce [Google]