Shawn O. Pearce | 01bac34 | 2011-06-24 09:41:28 -0700 | [diff] [blame] | 1 | Release notes for Gerrit 2.1.8 |
| 2 | ============================== |
| 3 | |
| 4 | Gerrit 2.1.8 is now available: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.1.8.war[http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.1.8.war] |
| 7 | |
| 8 | New Features |
| 9 | ------------ |
| 10 | * Add cache for tag advertisements |
| 11 | + |
| 12 | When READ level access controls are used on references/branches, this |
| 13 | cache provides a massive performance boost. On some repositories, |
| 14 | no-op Git client requests can go from 7.910s to 0.550s. Since all |
| 15 | of the time reduction is server CPU, this is a major performance |
| 16 | improvement for busy servers. |
| 17 | |
| 18 | * Substantially speed up pushing changes for review |
| 19 | + |
| 20 | Pushing changes to big projects was very slow, for similar issues |
| 21 | as the READ level access controls. Push checks have been improved, |
| 22 | reducing the amount of server CPU required to validate a push for |
| 23 | review is connected to the branch its intended for. |
| 24 | |
| 25 | * Avoid costly findMergedInto during push to refs/for/* |
| 26 | + |
| 27 | Checking to see if a new commit uploaded for review has already been |
| 28 | merged into a branch turns out to be expensive, and not very useful. |
| 29 | Since the commit is brand new to the server, it cannot possibly ever |
| 30 | have been merged. Skip the merge check to get a major performance |
| 31 | improvement on upload to big projects. |
| 32 | |
| 33 | * Allow serving static files in subdirectories |
| 34 | + |
| 35 | The /static/ subdirectory can now serve static files contained within |
| 36 | subdirectories. This change also patches the code to perform better |
| 37 | checks to ensure the requested URL is actually in the subdirectory. |
| 38 | These additional checks are only relevant on Windows servers, where |
| 39 | MS-DOS compatibility may have permitted access to special device |
| 40 | files in any directory, rather than just the "\\.\" device namespace. |
| 41 | |
| 42 | Bug Fixes |
| 43 | --------- |
| 44 | * issue 518 Fix MySQL counter resets |
| 45 | + |
| 46 | MySQL databases lost their change_id, account_id counters after |
| 47 | server restarts, causing duplicate key insertion errors. Fixed. |
| 48 | |
| 49 | * issue 1019 Normalize OpenID URLs with http:// prefix |
| 50 | + |
| 51 | OpenID standards require sites to add "http://" to an OpenID |
| 52 | identifier if the user did not enter it themselves. |
| 53 | |
| 54 | * Ignore PartialResultException from LDAP. |
| 55 | + |
| 56 | Instead of crashing with an exception, partial results are ignored |
| 57 | when configured to be ignored. |