Adding new events table index requires truncation


Jeffrey Pak
 

Hi all,

The CAPI team is looking to merge in a PR to cloud_controller_ng, https://github.com/cloudfoundry/cloud_controller_ng/pull/418, which will update an index on the events table to include "id" as well as "timestamp". See https://www.pivotaltracker.com/story/show/101985370 for more information and discussion.

Older deployments with many events would experience a very slow deploy if this migration runs as-is. To prevent this from causing failed deploys or unintended downtime, we'd like to truncate the events table as part of the migration.

If we do this, it'll be made clear in the release notes and will most likely be included in v219.

Any questions or concerns?

Thanks,

Raina and Jeff
CF CAPI Team

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.