Bitbucket Data Center and Server 8.6 release notes

15 November 2022

Introducing Bitbucket Data Center and Server 8.6.

In this release we’ve improved the audit log experience by fixing slow page loads.

Faster Audit log


We’ve updated the Audit log feature for faster, more powerful performance. Currently, the page loads slowly when the database contains more than a few million events. This mostly affects the PostgresSQL and MySQL (including MariaDB) database types.

We’ve fixed this performance issue by incrementally caching the categories and summaries in new tables in the database. These smaller tables are used to provide options in the categories and summaries filters. They’re also used for the excluded events selector in the settings.

A background task to create these tables starts when you upgrade your instance. These tables are also kept up-to-date as new audit events come in.

Your Bitbucket 8.6 upgrade will be successful even if the tables build fails. There won’t be any downtime if the tables build fails. Note that it may take a while for the categories+summaries filter and the excluded events selector to be updated in the GUI based on your database configuration.

If something goes wrong during the upgrade (perhaps your database goes offline when creating or updating the tables), the smaller tables may be out of sync with the actual audit events stored in the database.

To sync the tables with the actual audit events, trigger a manual rebuild of these tables by sending the following REST request.

POST <BASE_URL>/rest/auditing/1.0/cache/rebuild

  Content-Type: 'application/json' # prevents an XSRF check
  Authorization: Basic <system admin user> <system admin password>

This request should complete quickly and schedule a rebuild of these tables that should take no longer than 15 minutes. The audit events table will not be modified, so you can always rebuild.

Other changes and improvements

REST APIs to troubleshoot Mirrors

We've added some new REST APIs to help diagnose mirror syncing issues. For more details, refer to our API changelog.

Before you upgrade to 8.6


H2 database migration requirement

To achieve improved processing speeds, we’ve upgraded the H2 database to version 1.4.200 as it supports multithreading. Version 1.4.200 of H2 doesn’t support the PageStore format – if you’re upgrading from a version lower than 8.0 and using a H2 database for a Bitbucket Mirror or Server and, you’ll need to migrate the on-disk database file to the MvStore format. Learn more about how to migrate your H2 database to the MvStore format

Bitbucket now includes Java 11

If you install Bitbucket with the installer, Bitbucket will now run with Java 11. Learn more about how to run the Bitbucket installer

Updates to supported platforms

Bitbucket 8.6 now includes support for running:

  • PostgreSQL 15
  • Elasticsearch 7.17.6
  • Amazon OpenSearch Service 1.3

Get ready to upgrade

Before upgrading from an earlier version, check out our upgrade guide and upgrade matrix. Remember to renew your active software maintenance license too. 

Renew now

As part of our new pull request experience from version 7.0 and higher, we have created a collection of new features for you to check out on one page, Enhancements to your code review workflow.

Change log

Resolved issues in Bitbucket Server 8.6.4

Released 12 April 2023

T Key Summary

Resolved issues in Bitbucket Server 8.6.3

Released 14 February 2023

T Key Summary

Resolved issues in Bitbucket Server 8.6.2

Released 25 January 2023

T Key Summary

Resolved issues in Bitbucket Server 8.6.1

Released 16 November 2022

T Key Summary

Resolved issues in Bitbucket Server 8.6.0

Released 15 November 2022

T Key Summary

Last modified on Apr 12, 2023

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.