release: github.com/cloudfoundry/cf-mysql-release / 30

Github source: 63cc5347 or master branch

Cluster Stability Improvements

This release addresses a limitation in the quota enforcer in which it can interfere in service broker activities. The quota enforcer runs a query is costly relative to the number of tables in the database.

We’ve added a property that allows the operator to disable the quota enforcer. - Configure my deployment to run without a quota enforcer. [#131445093] Note If setting cf_mysql.broker.disable_quota_enforcer: true in a rolling deploy, service instances that the quota enforcer revoked INSERT privileges from will be stuck in this state. This can be solved by manually granting the user full permission to their service instances again with: GRANT INSERT, UPDATE, CREATE ON <DB_NAME>.* TO '<USERNAME>'@'%';. The USERNAME can be found in the service-binding via cf env. - The super user username is configurable again [#130544249]

Manifest Changes

  • Re-introduce the cf_mysql.mysql.admin_username
    • defaults to root
  • Create non-required cf_mysql.mysql.previous_admin_username
    • If changing the admin_username property, set this property to the previous value of the admin_username. Otherwise, there will be two admins for the cluster.

Upload this release version to the Director:

$ bosh upload release https://bosh.io/d/github.com/cloudfoundry/cf-mysql-release?v=30

Modify deployment manifest to use this release in addition to any other used releases:

releases:
- {name: cf-mysql, version: "30"}

Finally add needed deployment jobs and specify values for required properties.

Optionally download sha1: ea8f0d981d0514cb5fa9690d362d86e970f676ba release tarball locally:

# ...or download it directly using curl
$ curl -L -J -O https://bosh.io/d/github.com/cloudfoundry/cf-mysql-release?v=30

# or with wget...
$ wget --content-disposition https://bosh.io/d/github.com/cloudfoundry/cf-mysql-release?v=30