Skip to content

CAPI 1.213.0

Latest
Compare
Choose a tag to compare
@ari-wg-gitbot ari-wg-gitbot released this 25 Jul 09:02

Highlights

Bugfix for fetching tasks - see #4467 for details

bigint Migration

With this release the migration of the primary key id column type from int to bigint will be completed for the 'events' table on PostgreSQL databases (if not opted-out with the ccdb.skip_bigint_id_migration flag during step 1).

  • The migration is implemented in multiple steps and does not require any downtime.
  • Data in the 'events' table is cleaned up automatically (default retention time: 31 days). In case this time period has not been passed since the deployment of CAPI 1.208.0 / cf-deployment v49.0.0, the migration will fail in a pre-check phase. Operators then have to manually run a rake task to backfill the transitional id_bigint column before being able to re-run the migration:
    bosh -d cf ssh api/0
    sudo -i
    
    source /var/vcap/jobs/cloud_controller_ng/bin/ruby_version.sh
    cd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
    bundle exec rake db:bigint_backfill[events]
    
    # or with a given batch size (instead of 10.000)
    bundle exec rake db:bigint_backfill[events,1000]
    
    # or with a given batch size and number of iterations (otherwise: until everything has been processed)
    bundle exec rake db:bigint_backfill[events,1000,10]
    

CC API Version: 2.263.0 and 3.198.0

Service Broker API Version: 2.15

CAPI Release

Dependency Updates

  • Build(deps-dev): Bump rubocop from 1.78.0 to 1.79.0 in /spec (#563) @dependabot[bot]
  • Build(deps-dev): Bump rubocop from 1.77.0 to 1.78.0 in /spec (#559) @dependabot[bot]

Cloud Controller

Dependency Updates

code.cloudfoundry.org/cc-uploader

Dependency Updates

code.cloudfoundry.org/tps

Dependency Updates

github.com/cloudfoundry/blobstore_url_signer

Dependency Updates

Cloud Controller Database Migrations