Promotion and recovery

  • Determine which workloads a release changes, which versions can coexist and what rollback requires.
Diagram phase
100%
RELEASE MATERIALTARGET ENVIRONMENTRelease staging and deployment ownershipSelect / controlRecoveryBuild / supplypullstage chartsubstituteinstall / upgraderequest rolloutrollbackbusiness effectsRelease carrierand listingPackaged chartTarget configurationLCMReleaseStaging areaHelm releaseWebLogic workloadsAPI / MDB / timersDatabase + queues+ partner effectsPrior deploymentrevisionpullstage chartsubstituteinstall / upgraderequest rolloutrollbackbusiness effects

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • Pull and stage prepares release files and target configuration. Install or upgrade applies the staged chart.
  • A previous chart can restore earlier workload references. Pending upload messages, changed data and completed partner calls still need recovery.
What must be true before a release can serve

What must be true before a release can serve

Materialize the release for the target

  • PullRelease retrieves and stages release material. The deployment scripts apply target-specific substitutions and chart metadata, then choose Helm install or upgrade.
  • Check the rendered workload references against the images available in the target registry. A substituted environment value can change a datasource, destination or selected artifact without a Java rebuild.
  • Kubernetes and WebLogic must converge after Helm submits the desired configuration. Validate the intended managed servers, deployment targets and effective assembled library set.

Roll out a compatible writer

  • Proposed. Keep the current build tools. Generate a release manifest from required versus assembled archive membership, immutable image identities, chart/configuration and supported DB and message contracts.
  • Begin with a report of missing inputs, classpath collisions and affected consumers. Make it a blocking gate after producer and consumer owners validate the mapping.
  • Shadow the new reader or validator on a sample without creating offers or contacting Customer Power. Before enabling a new writer, fence or drain the old owner at an agreed work boundary.
  • Confirm foreground and background targets separately. A ready LoanTransaction endpoint cannot certify FileUpload work, message-driven consumers or provider outcomes.

Choose rollback or forward recovery

Failure Before changing the target Recovery decision
A required shared image is missing Stop the promotion at artifact validation Retain the active release and publish the missing compatible set
R2 writes an envelope R1 cannot read Stop new R2 writes and retain those messages Drain with compatible consumers or deploy a tested upcaster before transferring ownership
Database projection or shared data changes Exercise fresh and reused R1/R2 connections and mixed-version writes Route back only while R1 can still read the data and mapper shape
Customer Power times out after receiving a call Retain the original operation/stage identity and hold the dependent effect Query the provider contract or reconcile. A previous application version cannot reverse a remote effect
  • Keep the previous chart, application and dependency image digests, configuration, compatible database projection and usable worker capacity until the rollback window closes.
  • Two live generations may need extra DB sessions and CPU. If there is no headroom, use a smaller cohort or a planned drain before transferring ownership.
Worked example · release admission and rollback decisionsjson
{
  "kind": "IllustrativeReleaseRecovery",
  "previousRelease": "R1",
  "candidateRelease": "R2",
  "cases": [
    {
      "when": "R1 is still serving and R2 fails archive verification",
      "decision": "keep R1 selected; rebuild or restage the complete compatible R2 set"
    },
    {
      "when": "an R2 worker wrote V2 messages and an R1 worker can read only V1",
      "decision": "pause affected intake, fence the R2 writer and drain V2 with a compatible consumer",
      "rollbackGate": "allow R1 ownership only after remaining durable input is readable by R1"
    },
    {
      "when": "R2 used the candidate database edition",
      "decision": "test R1 with fresh and reused connections against data written during the overlap",
      "rollbackGate": "retain or restore the compatible datasource, mapper and admission route"
    },
    {
      "when": "a Customer Power response was lost after request dispatch",
      "decision": "preserve the same operation and stage, then reconcile its authoritative outcome",
      "rollbackGate": "record which release owns recovery; switching releases does not reverse the remote action"
    }
  ]
}
Worked example · members bound by the release manifestjson
{
  "kind": "IllustrativeReleaseMembership",
  "release": "R2",
  "archiveContracts": {
    "LoanTransaction.ear": {
      "requiredModuleRoles": ["loan-transaction-web", "lcm-health-web"],
      "checks": ["unpack the built EAR", "read application.xml", "resolve both declared modules"]
    }
  },
  "imageRoles": {
    "server-base": "runtime-B1",
    "transaction-application": "application-A1",
    "shared-module": "module-M2"
  },
  "releaseProducts": ["chart-package", "helm-release-carrier"],
  "case": {
    "change": "module-M1 becomes module-M2 while application-A1 stays identical",
    "impact": "retest every target selecting module-M2, even with an unchanged EAR",
    "blockWhen": ["a required WAR is absent", "two selected payloads supply an incompatible class", "the chart still selects module-M1"]
  },
  "identityRule": "B1, A1 and M2 are teaching labels. A release record uses the actual immutable artifact hashes and image digests."
}