Schema Changes and Upgrades

WARNING: Gerrit is not shipped with Bouncycastle included. To get the
updated library files, the site must be updated:

java -jar gerrit.war init -d site_path

Bug Fixes

Secondary Index

Fix deadlocks on index shutdown.

Change Screen

Only permit current patch set to edit the commit message.

Do not allow users to replace a more recent patch set with an older
patch set when there is a race between the web UI and the command
line git client.

Prevent draft changes from being abandoned.

When a draft change was abandoned it was published to all
users by setting the status to ABANDONED. Restoring the change
effectively published the change, as the status was set to NEW.

Don’t show the submit button for draft patch sets.

The button was enabled for all open changes, but if the patch set
was a draft, pressing it resulted in an error.

Only reset the commit message text on cancel.

Allow the user to begin editing the commit message, dismiss the
box by clicking outside of it (e.g. to copy part of a file name
from the Files table), and then re-open the current draft text
without resetting the box.

Only reset the box when the user explicitly clicks Cancel.

Fix failure to load side-by-side diff due to "ISE EditIterator out of bounds"
error.