v4.0.3

Notes

  • Sprint: Sprint 39
  • Type:

    • Major release

      • Minor hotfix
      • Essential hotfix
    • Normal release
    • Hotfix
  • No encountered error during deployment.

Tasks

Database backup

On-demand database backups are user initiated, and are retained indefinitely, until manually deleted.

Code preparation

  • Created release branch release-v4.0.3 from release-v4.0.2.
  • Created feature branches from release-v4.0.2.
  • Issued PR to release-v4.0.3.
  • Updated local branch release-v4.0.3 from remote tracking branch release-v4.0.3.

    • Updated from release branch release-v4.0.2.
  • No issues and merge commits when release-v4.0.3 branch was updated.

Release branch

  • From branch: release-v4.0.2
  • Branch name: release-v4.0.3
  • Pushed to github.
  • Pushed to Acquia Cloud git.

Release tag

  • From branch: release-v4.0.3
  • Tag name: v4.0.3
  • Pushed to github.
  • Pushed to Acquia Cloud git.

Pre-deployment (production)

  • Remove all fields under field collection.

    • Done in v4.0.2.
  • Remove the field from content type where the field collection was used.

    • Done in v4.0.2.
  • Run drush php-eval 'field_purge_batch(1000);' a couple of times.
  • Run drush cron a couple of times.
  • Run drush sqlq "TRUNCATE field_collection_item;" once.
  • Run drush sqlq "TRUNCATE field_collection_item_revision;" once.

Source: https://www.drupal.org/project/field_collection/issues/3102702#comment-13449248 1

Deployment (production)

Switch code

  • From: v4.0.2
  • To: v4.0.3
  • Timestamp: Nov 2, 2021, 2:49:36 PM UTC+0800
  • Task ID: 150641448
  • User: timothy.escopete@excelitas.com
  • Started: Nov 2, 2021, 2:49:36 PM UTC+0800
  • Completed: Nov 2, 2021, 2:49:55 PM UTC+0800
  • Status: Completed
  • No errors.
  • Cleared cache.
  • Cleared cache.

Configuration changes

  • Create views.view.dealer_search_v2
  • Update core.extension
  • Delete views.view.dealer_search

Configuration import

  • [notice] Synchronized extensions: uninstall field_collection.
  • [notice] Synchronized configuration: create views.view.dealer_search_v2.
  • [notice] Finalizing configuration synchronization.

Configuration import summary

  • [success] The configuration was imported successfully.
  • No errors.

Database update

  • [success] No pending updates.

Database update results

  • [success] No pending updates.

Post deployment

  • Cleared cache.
  • Cleared cache.
  • Cleared varnish cache.

Post deployment todo for this release

  • None.

Quick test

  • Site is up.
  • Module Field collection is disabled in the Extend page List tab.

Post deployment

  • Updated local release branch release-v4.1.0 from remote tracking branch release-v4.1.0.

    • Already up to date.
    • Fast forward update.
  • Merged remote tracking branch release-v4.0.3 to release-v4.1.0.

    • No errors.
    • Fast forward merge.
    • Non-fast forward merge: fb57a59.
    • With conflicts.

      • Conflict resolution commit: .
    • Pushed to Github.
    • Pushed to Acquia Cloud.
  • Updated local branch develop from remote tracking branch develop.

    • Already up to date.
  • Merged remote tracking branch 'release-v4.0.3' to develop.

    • No errors.
    • Fast forward merge.
    • Non-fast forward merge: c85f0c5.
    • With conflicts.

      • Conflict resolution commit: .
    • Pushed to Github.
    • Pushed to Acquia Cloud.

Footnotes

1
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush php-eval 'field_purge_batch(1000);'
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush php-eval 'field_purge_batch(1000);'
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush php-eval 'field_purge_batch(1000);'
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush php-eval 'field_purge_batch(1000);'
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush php-eval 'field_purge_batch(1000);'
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush cron
 [notice] Starting execution of dblog_cron().
 [notice] Starting execution of excelitas_blocks_cron(), execution of dblog_cron() took 6.45ms.
 [notice] Starting execution of feeds_cron(), execution of excelitas_blocks_cron() took 0.31ms.
 [notice] Starting execution of field_cron(), execution of feeds_cron() took 21.75ms.
 [notice] Starting execution of file_cron(), execution of field_cron() took 1.46ms.
 [notice] Starting execution of layout_builder_cron(), execution of file_cron() took 3.05ms.
 [notice] Starting execution of lightning_scheduler_cron(), execution of layout_builder_cron() took 3.97ms.
 [notice] Starting execution of node_cron(), execution of lightning_scheduler_cron() took 17.21ms.
 [notice] Starting execution of purge_processor_cron_cron(), execution of node_cron() took 0.01ms.
 [notice] Starting execution of search_api_cron(), execution of purge_processor_cron_cron() took 29.48ms.
 [notice] Starting execution of simple_oauth_cron(), execution of search_api_cron() took 18.36ms.
 [notice] Starting execution of simple_sitemap_cron(), execution of simple_oauth_cron() took 9.53ms.
 [notice] Starting execution of simple_sitemap_views_cron(), execution of simple_sitemap_cron() took 8362.29ms.
 [notice] Starting execution of system_cron(), execution of simple_sitemap_views_cron() took 0.64ms.
 [notice] Starting execution of update_cron(), execution of system_cron() took 56.69ms.
 [notice] Starting execution of webform_cron(), execution of update_cron() took 34.09ms.
 [notice] Execution of webform_cron() took 2.54ms.
 [notice] Cron run completed.
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush cron                                                                                [36/807]
 [notice] Starting execution of dblog_cron().
 [notice] Starting execution of excelitas_blocks_cron(), execution of dblog_cron() took 0.67ms.
 [notice] Starting execution of feeds_cron(), execution of excelitas_blocks_cron() took 0.29ms.
 [notice] Starting execution of field_cron(), execution of feeds_cron() took 18.89ms.
 [notice] Starting execution of file_cron(), execution of field_cron() took 1.38ms.
 [notice] Starting execution of layout_builder_cron(), execution of file_cron() took 2.78ms.
 [notice] Starting execution of lightning_scheduler_cron(), execution of layout_builder_cron() took 3.44ms.
 [notice] Starting execution of node_cron(), execution of lightning_scheduler_cron() took 17.8ms.
 [notice] Starting execution of purge_processor_cron_cron(), execution of node_cron() took 0.01ms.
 [notice] Starting execution of search_api_cron(), execution of purge_processor_cron_cron() took 24.38ms.
 [notice] Starting execution of simple_oauth_cron(), execution of search_api_cron() took 7.43ms.
 [notice] Starting execution of simple_sitemap_cron(), execution of simple_oauth_cron() took 3.77ms.
 [notice] Starting execution of simple_sitemap_views_cron(), execution of simple_sitemap_cron() took 2436.32ms.
 [notice] Starting execution of system_cron(), execution of simple_sitemap_views_cron() took 0.56ms.
 [notice] Starting execution of update_cron(), execution of system_cron() took 52.44ms.
 [notice] Starting execution of webform_cron(), execution of update_cron() took 29.88ms.
 [notice] Execution of webform_cron() took 2.32ms.
 [notice] Cron run completed.
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush cron
 [notice] Starting execution of dblog_cron().
 [notice] Starting execution of excelitas_blocks_cron(), execution of dblog_cron() took 0.37ms.
 [notice] Starting execution of feeds_cron(), execution of excelitas_blocks_cron() took 0.36ms.
 [notice] Starting execution of field_cron(), execution of feeds_cron() took 17.04ms.
 [notice] Starting execution of file_cron(), execution of field_cron() took 0.91ms.
 [notice] Starting execution of layout_builder_cron(), execution of file_cron() took 2.55ms.
 [notice] Starting execution of lightning_scheduler_cron(), execution of layout_builder_cron() took 3.34ms.
 [notice] Starting execution of node_cron(), execution of lightning_scheduler_cron() took 17.46ms.
 [notice] Starting execution of purge_processor_cron_cron(), execution of node_cron() took 0.01ms.
 [notice] Starting execution of search_api_cron(), execution of purge_processor_cron_cron() took 21.37ms.
 [notice] Starting execution of simple_oauth_cron(), execution of search_api_cron() took 6.69ms.
 [notice] Starting execution of simple_sitemap_cron(), execution of simple_oauth_cron() took 4.09ms.
 [notice] Starting execution of simple_sitemap_views_cron(), execution of simple_sitemap_cron() took 2392.55ms.
 [notice] Starting execution of system_cron(), execution of simple_sitemap_views_cron() took 0.55ms.
 [notice] Starting execution of update_cron(), execution of system_cron() took 52.2ms.
 [notice] Starting execution of webform_cron(), execution of update_cron() took 29.98ms.
 [notice] Execution of webform_cron() took 2.46ms.
 [notice] Cron run completed.
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush cron
 [notice] Starting execution of dblog_cron().
 [notice] Starting execution of excelitas_blocks_cron(), execution of dblog_cron() took 0.38ms.
 [notice] Starting execution of feeds_cron(), execution of excelitas_blocks_cron() took 0.35ms.
 [notice] Starting execution of field_cron(), execution of feeds_cron() took 17.04ms.
 [notice] Starting execution of file_cron(), execution of field_cron() took 1.1ms.
 [notice] Starting execution of layout_builder_cron(), execution of file_cron() took 2.61ms.
 [notice] Starting execution of lightning_scheduler_cron(), execution of layout_builder_cron() took 3.4ms.
 [notice] Starting execution of node_cron(), execution of lightning_scheduler_cron() took 17.24ms.
 [notice] Starting execution of purge_processor_cron_cron(), execution of node_cron() took 0.01ms.
 [notice] Starting execution of search_api_cron(), execution of purge_processor_cron_cron() took 21.18ms.
 [notice] Starting execution of simple_oauth_cron(), execution of search_api_cron() took 6.57ms.
 [notice] Starting execution of simple_sitemap_cron(), execution of simple_oauth_cron() took 3.7ms.
 [notice] Starting execution of simple_sitemap_views_cron(), execution of simple_sitemap_cron() took 2464.8ms.
 [notice] Starting execution of system_cron(), execution of simple_sitemap_views_cron() took 0.57ms.
 [notice] Starting execution of update_cron(), execution of system_cron() took 47.73ms.
 [notice] Starting execution of webform_cron(), execution of update_cron() took 32.21ms.
 [notice] Execution of webform_cron() took 2.55ms.
 [notice] Cron run completed.
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush cron
 [notice] Starting execution of dblog_cron().
 [notice] Starting execution of excelitas_blocks_cron(), execution of dblog_cron() took 0.47ms.
 [notice] Starting execution of feeds_cron(), execution of excelitas_blocks_cron() took 0.29ms.
 [notice] Starting execution of field_cron(), execution of feeds_cron() took 19.48ms.
 [notice] Starting execution of file_cron(), execution of field_cron() took 0.94ms.
 [notice] Starting execution of layout_builder_cron(), execution of file_cron() took 3.08ms.
 [notice] Starting execution of lightning_scheduler_cron(), execution of layout_builder_cron() took 5.21ms.
 [notice] Starting execution of node_cron(), execution of lightning_scheduler_cron() took 18.78ms.
 [notice] Starting execution of purge_processor_cron_cron(), execution of node_cron() took 0.01ms.
 [notice] Starting execution of search_api_cron(), execution of purge_processor_cron_cron() took 38.36ms.
 [notice] Starting execution of simple_oauth_cron(), execution of search_api_cron() took 7.23ms.
 [notice] Starting execution of simple_sitemap_cron(), execution of simple_oauth_cron() took 3.95ms.
 [notice] Starting execution of simple_sitemap_views_cron(), execution of simple_sitemap_cron() took 2391.27ms.
 [notice] Starting execution of system_cron(), execution of simple_sitemap_views_cron() took 0.53ms.
 [notice] Starting execution of update_cron(), execution of system_cron() took 51.12ms.
 [notice] Starting execution of webform_cron(), execution of update_cron() took 34.46ms.
 [notice] Execution of webform_cron() took 2.45ms.
 [notice] Cron run completed.
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush sqlq "TRUNCATE field_collection_item;"
excelitas@ded-33209:/var/www/html/excelitas.prod/docroot$ drush sqlq "TRUNCATE field_collection_item_revision;"